S2TileChips constructor
S2TileChips({
- Key key,
- @required int chipLength,
- @required IndexedWidgetBuilder chipLabelBuilder,
- IndexedWidgetBuilder chipAvatarBuilder,
- IndexedWidgetBuilder chipBuilder,
- ValueChanged<
int> chipOnDelete, - Color chipColor,
- bool chipOutlined = false,
- bool chipRaised = false,
- double chipOpacity,
- Icon chipDeleteIcon,
- double chipSpacing,
- double chipRunSpacing,
- ShapeBorder chipShape,
- TextStyle chipLabelStyle,
- double chipElevation = 1,
- Widget placeholder,
- bool scrollable = false,
- EdgeInsetsGeometry padding,
Create a chips tile/trigger widget
Implementation
S2TileChips({
Key key,
@required this.chipLength,
@required this.chipLabelBuilder,
this.chipAvatarBuilder,
this.chipBuilder,
this.chipOnDelete,
this.chipColor,
this.chipOutlined = false,
this.chipRaised = false,
this.chipOpacity,
this.chipDeleteIcon,
this.chipSpacing,
this.chipRunSpacing,
this.chipShape,
this.chipLabelStyle,
this.chipElevation = 1,
this.placeholder,
this.scrollable = false,
this.padding,
}) : assert(chipOutlined != null),
assert(chipRaised != null),
assert(scrollable != null),
super(key: key);