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
onChanged method as follows:
onChanged: (String value) {
Expression parsedExpression = TeXParser(value).parse();
print(parsedExpression.simplify().toString());
},
- Throws error described above
Bug description
When following the example in the documentation, the TexParser(value).parse() method throws a ParserException.
To Reproduce
Steps to reproduce the behavior:
onChangedmethod as follows: