ThemeData constructor

ThemeData({
  1. ColorScheme colorScheme = ColorSchemes.lightDefaultColor,
  2. double radius = 0.5,
  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({
  this.colorScheme = ColorSchemes.lightDefaultColor,
  this.radius = 0.5,
  this.scaling = 1,
  this.typography = const Typography.geist(),
  this.iconTheme = const IconThemeProperties(),
  TargetPlatform? platform,
  this.surfaceOpacity,
  this.surfaceBlur,
}) : _platform = platform;