MathTex constructor
MathTex(})
Implementation
MathTex(
String originalTexString, {
Color color = WHITE,
this.argSeparator = ' ',
this.texToColorMap = const {},
this.subStringToIsolate = const [],
String environment = 'align*',
}) : super.deferred(color: color) {
this.environment = environment;
texStrings = breakUpTexStrings(
originalTexString,
subStringToIsolate,
texToColorMap,
);
texString = texStrings.join(argSeparator);
createMobject();
breakUpBySubstrings();
setColorByTexToColorMap(texToColorMap);
}