ThemeData constructor
ThemeData({
- required ColorScheme colorScheme,
- required double radius,
- double scaling = 1,
- Typography typography = const Typography.geist(),
- IconThemeProperties iconTheme = const IconThemeProperties(),
- TargetPlatform? platform,
- double? surfaceOpacity,
- double? surfaceBlur,
Implementation
ThemeData({
required this.colorScheme,
required this.radius,
this.scaling = 1,
this.typography = const Typography.geist(),
this.iconTheme = const IconThemeProperties(),
TargetPlatform? platform,
this.surfaceOpacity,
this.surfaceBlur,
}) : _platform = platform;