updateTypographyTheme method

ChartTheme updateTypographyTheme(
  1. TypographyTheme update(
    1. 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));