preload static method
void
preload(
- String originalTexString, {
- String argSeparator = ' ',
- Map<
String, Color> texToColorMap = const {}, - List<
String> subStringToIsolate = const [], - String environment = 'align*',
override
Implementation
static void preload(
String originalTexString, {
String argSeparator = ' ',
Map<String, Color> texToColorMap = const {},
List<String> subStringToIsolate = const [],
String environment = 'align*',
}) {
var texStrings = breakUpTexStrings(
originalTexString,
subStringToIsolate,
texToColorMap,
);
var fullString = texStrings.join(argSeparator);
for (var texString in [...texStrings, fullString]) {
SingleStringMathTex.preload(texString, environment);
}
}