const
ThemeData(- {bool? applyElevationOverlayColor,
- TargetPlatform? platform,
- bool? useMaterial3,
- VisualDensity? visualDensity,
- Brightness? brightness,
- Color? canvasColor,
- Color? cardColor,
- ColorScheme? colorScheme,
- Color? colorSchemeSeed,
- Color? dialogBackgroundColor,
- Color? disabledColor,
- Color? dividerColor,
- Color? focusColor,
- Color? highlightColor,
- Color? hintColor,
- Color? hoverColor,
- Color? indicatorColor,
- Color? primaryColor,
- Color? primaryColorDark,
- Color? primaryColorLight,
- MaterialColor? primarySwatch,
- Color? scaffoldBackgroundColor,
- Color? shadowColor,
- Color? splashColor,
- Color? unselectedWidgetColor,
- String? fontFamily,
- List<String>? fontFamilyFallback,
- String? package,
- TextTheme? textTheme}
)
Implementation
const factory ThemeData({
bool? applyElevationOverlayColor,
TargetPlatform? platform,
bool? useMaterial3,
VisualDensity? visualDensity,
Brightness? brightness,
Color? canvasColor,
Color? cardColor,
ColorScheme? colorScheme,
Color? colorSchemeSeed,
Color? dialogBackgroundColor,
Color? disabledColor,
Color? dividerColor,
Color? focusColor,
Color? highlightColor,
Color? hintColor,
Color? hoverColor,
Color? indicatorColor,
Color? primaryColor,
Color? primaryColorDark,
Color? primaryColorLight,
MaterialColor? primarySwatch,
Color? scaffoldBackgroundColor,
Color? secondaryHeaderColor,
Color? shadowColor,
Color? splashColor,
Color? unselectedWidgetColor,
String? fontFamily,
List<String>? fontFamilyFallback,
String? package,
TextTheme? textTheme,
}) = _ThemeData;