Flutter & Dart · Class
ThemeData
ThemeData is the visual configuration for a MaterialApp or a widget subtree. It supplies shared colors, text styles, and component-specific settings to Material widgets.
Last updated
Syntax
ThemeData({
ColorScheme? colorScheme,
Brightness? brightness,
Color? colorSchemeSeed,
TextTheme? textTheme,
bool? useMaterial3,
Iterable<ThemeExtension>? extensions,
})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ThemeTheme.ofThemeData.fromThemeData.lightThemeData.darkColorScheme.fromSeedThemeExtension