defaultTheme property

void defaultTheme=(Map<ThemeRef, Object>? defaultTheme)

Same as Themed.of(context).defaultTheme = { ... };

The default theme must define all used colors.

Implementation

static set defaultTheme(Map<ThemeRef, Object>? defaultTheme) {
  _defaultTheme = toIdenticalKeyedMap(defaultTheme);
  _setState();
}