-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
When following the example in the documentation, the TexParser(value).parse() method throws a ParserException.
The following ParserException was thrown while dispatching notifications for
MathFieldEditingController:
Instance of 'ParserException': end of input expected (at 1:5)
To Reproduce
Steps to reproduce the behavior:
- Setup an empty flutter project
- Install math_keyboard
- Create a MathField widget as per the math_keyboard documentation
- Setup printing the parsed output on the
onChangedmethod as follows:
onChanged: (String value) {
Expression parsedExpression = TeXParser(value).parse();
print(parsedExpression.simplify().toString());
},- Throws error described above
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working