onChanged property

(void Function(String value)?) onChanged

Function that is called when the expression inside of the math field changes,

The passed value is the TeX representation of the expression. You can make use of the provided TeXParser to convert it into a math expression.


final void Function(String value)? onChanged;