withMathFont method

MathOptions withMathFont(
  1. FontOptions font
)

Returns MathOptions with given math font

Implementation

MathOptions withMathFont(FontOptions font) {
  if (font == this.mathFontOptions) return this;
  return this.copyWith(mathFontOptions: font);
}