ChipThemeData constructor

const ChipThemeData({@required Color backgroundColor, Color deleteIconColor, @required Color disabledColor, @required Color selectedColor, @required Color secondarySelectedColor, @required EdgeInsetsGeometry labelPadding, @required EdgeInsetsGeometry padding, @required ShapeBorder shape, @required TextStyle labelStyle, @required TextStyle secondaryLabelStyle, @required Brightness brightness })

Create a ChipThemeData given a set of exact values. All the values must be specified.

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

Implementation

const ChipThemeData({
  @required this.backgroundColor,
  this.deleteIconColor,
  @required this.disabledColor,
  @required this.selectedColor,
  @required this.secondarySelectedColor,
  @required this.labelPadding,
  @required this.padding,
  @required this.shape,
  @required this.labelStyle,
  @required this.secondaryLabelStyle,
  @required this.brightness,
})  : assert(backgroundColor != null),
      assert(disabledColor != null),
      assert(selectedColor != null),
      assert(secondarySelectedColor != null),
      assert(labelPadding != null),
      assert(padding != null),
      assert(shape != null),
      assert(labelStyle != null),
      assert(secondaryLabelStyle != null),
      assert(brightness != null);