LatexConfig constructor
const
LatexConfig({
- double fontSize = 20.0,
- LatexTheme theme = const _AdaptiveLatexTheme(light: LatexTheme.defaultLightColors, dark: LatexTheme.defaultDarkColors),
- LineBreakingConfig lineBreaking = const LineBreakingConfig(),
- HighlightConfig highlight = const HighlightConfig(),
- bool accessibilityEnabled = false,
- void onNodeClick()?,
- void onHyperlinkClick(
- String url
- bool enableLayoutCache = false,
Implementation
const LatexConfig({
this.fontSize = 20.0,
this.theme = const _AdaptiveLatexTheme(
light: LatexTheme.defaultLightColors,
dark: LatexTheme.defaultDarkColors,
),
this.lineBreaking = const LineBreakingConfig(),
this.highlight = const HighlightConfig(),
this.accessibilityEnabled = false,
this.onNodeClick,
this.onHyperlinkClick,
this.enableLayoutCache = false,
});