ChipConfig constructor

const ChipConfig({
  1. Icon? deleteIcon,
  2. Color deleteIconColor = Colors.white,
  3. Color? backgroundColor,
  4. EdgeInsets padding = const EdgeInsets.only(left: 12, top: 0, right: 4, bottom: 0),
  5. double radius = 18,
  6. double spacing = 8,
  7. double runSpacing = 8,
  8. Widget? separator,
  9. Color labelColor = Colors.white,
  10. TextStyle? labelStyle,
  11. WrapType wrapType = WrapType.scroll,
  12. EdgeInsets labelPadding = EdgeInsets.zero,
  13. bool autoScroll = false,
})

Implementation

const ChipConfig({
  this.deleteIcon,
  this.deleteIconColor = Colors.white,
  this.backgroundColor,
  this.padding = const EdgeInsets.only(left: 12, top: 0, right: 4, bottom: 0),
  this.radius = 18,
  this.spacing = 8,
  this.runSpacing = 8,
  this.separator,
  this.labelColor = Colors.white,
  this.labelStyle,
  this.wrapType = WrapType.scroll,
  this.labelPadding = EdgeInsets.zero,
  this.autoScroll = false,
});