ThemeData.light constructor
- bool? useMaterial3,
A default light theme.
This theme does not contain text geometry. Instead, it is expected that this theme is localized using text geometry using ThemeData.localize.
Implementation
factory ThemeData.light({bool? useMaterial3}) => ThemeData(
brightness: Brightness.light,
useMaterial3: useMaterial3,
);