ChipThemeData constructor Null safety

const ChipThemeData(
  1. {Color? backgroundColor,
  2. Color? deleteIconColor,
  3. Color? disabledColor,
  4. Color? selectedColor,
  5. Color? secondarySelectedColor,
  6. Color? shadowColor,
  7. Color? surfaceTintColor,
  8. Color? selectedShadowColor,
  9. bool? showCheckmark,
  10. Color? checkmarkColor,
  11. EdgeInsetsGeometry? labelPadding,
  12. EdgeInsetsGeometry? padding,
  13. BorderSide? side,
  14. OutlinedBorder? shape,
  15. TextStyle? labelStyle,
  16. TextStyle? secondaryLabelStyle,
  17. Brightness? brightness,
  18. double? elevation,
  19. double? pressElevation,
  20. IconThemeData? iconTheme}
)

Create a ChipThemeData given a set of exact values. All the values must be specified except for shadowColor, selectedShadowColor, elevation, and pressElevation, which may be null.

This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes.

Implementation

const ChipThemeData({
  this.backgroundColor,
  this.deleteIconColor,
  this.disabledColor,
  this.selectedColor,
  this.secondarySelectedColor,
  this.shadowColor,
  this.surfaceTintColor,
  this.selectedShadowColor,
  this.showCheckmark,
  this.checkmarkColor,
  this.labelPadding,
  this.padding,
  this.side,
  this.shape,
  this.labelStyle,
  this.secondaryLabelStyle,
  this.brightness,
  this.elevation,
  this.pressElevation,
  this.iconTheme,
});