ThemeData.dark constructor
- bool? useMaterial3,
A default dark 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.dark({bool? useMaterial3}) => ThemeData(
brightness: Brightness.dark,
useMaterial3: useMaterial3,
);