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? selectedShadowColor,
  8. bool? showCheckmark,
  9. Color? checkmarkColor,
  10. EdgeInsetsGeometry? labelPadding,
  11. EdgeInsetsGeometry? padding,
  12. BorderSide? side,
  13. OutlinedBorder? shape,
  14. TextStyle? labelStyle,
  15. TextStyle? secondaryLabelStyle,
  16. Brightness? brightness,
  17. double? elevation,
  18. double? pressElevation}
)

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.selectedShadowColor,
  this.showCheckmark,
  this.checkmarkColor,
  this.labelPadding,
  this.padding,
  this.side,
  this.shape,
  this.labelStyle,
  this.secondaryLabelStyle,
  this.brightness,
  this.elevation,
  this.pressElevation,
});