Math constructor
const
Math({
- Key? key,
- SyntaxTree? ast,
- MathStyle mathStyle = MathStyle.display,
- double? logicalPpi,
- OnErrorFallback onErrorFallback = defaultOnErrorFallback,
- MathOptions? options,
- ParseException? parseError,
- double? textScaleFactor,
- TextStyle? textStyle,
Math widget default constructor
Requires either a parsed ast or a parseError.
See Math for its member documentation
Implementation
const Math({
Key? key,
this.ast,
this.mathStyle = MathStyle.display,
this.logicalPpi,
this.onErrorFallback = defaultOnErrorFallback,
this.options,
this.parseError,
this.textScaleFactor,
this.textStyle,
}) : assert(ast != null || parseError != null),
super(key: key);