updateTypographyTheme method
- TypographyTheme update(
- TypographyTheme current
Rebuilds ChartTheme.typographyTheme from its current value.
update receives the current TypographyTheme and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
ChartTheme updateTypographyTheme(
TypographyTheme Function(TypographyTheme current) update,
) => copyWith(typographyTheme: update(typographyTheme));