ThemeData constructor

ThemeData({
  1. required ColorScheme colorScheme,
  2. required double radius,
  3. double scaling = 1,
  4. Typography typography = const Typography.geist(),
  5. IconThemeProperties iconTheme = const IconThemeProperties(),
  6. TargetPlatform? platform,
  7. double? surfaceOpacity,
  8. 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;