ThemeData.dark constructor Null safety
A default dark theme with a teal secondary ColorScheme color.
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() => ThemeData(brightness: Brightness.dark);