parseMathStyle function
Implementation
MathStyle? parseMathStyle(String string) => const {
'display': MathStyle.display,
'displayCramped': MathStyle.displayCramped,
'text': MathStyle.text,
'textCramped': MathStyle.textCramped,
'script': MathStyle.script,
'scriptCramped': MathStyle.scriptCramped,
'scriptscript': MathStyle.scriptscript,
'scriptscriptCramped': MathStyle.scriptscriptCramped,
}[string];