ThemeData.fallback constructor

ThemeData.fallback(
  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.

Implementation

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