ThemeData.fallback constructor Null safety

ThemeData.fallback()

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() => ThemeData.light();