ThemeData.fallback constructor

  1. {bool? useMaterial3}

The default color theme. Same as ThemeData.light.

This is used by Theme.of when no theme has been specified.

This theme does not contain text geometry. Instead, it is expected that this theme is localized using text geometry using ThemeData.localize.

Most applications would use Theme.of, which provides correct localized text geometry.


factory ThemeData.fallback({bool? useMaterial3}) => ThemeData.light(useMaterial3: useMaterial3);