S2TileChips constructor

S2TileChips({
  1. Key key,
  2. @required int chipLength,
  3. @required IndexedWidgetBuilder chipLabelBuilder,
  4. IndexedWidgetBuilder chipAvatarBuilder,
  5. IndexedWidgetBuilder chipBuilder,
  6. ValueChanged<int> chipOnDelete,
  7. Color chipColor,
  8. bool chipOutlined = false,
  9. bool chipRaised = false,
  10. double chipOpacity,
  11. Icon chipDeleteIcon,
  12. double chipSpacing,
  13. double chipRunSpacing,
  14. ShapeBorder chipShape,
  15. TextStyle chipLabelStyle,
  16. double chipElevation = 1,
  17. Widget placeholder,
  18. bool scrollable = false,
  19. 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);