ChipConfig constructor
const
ChipConfig({
- Icon? deleteIcon,
- Color deleteIconColor = Colors.white,
- Color? backgroundColor,
- EdgeInsets padding = const EdgeInsets.only(left: 12, top: 0, right: 4, bottom: 0),
- double radius = 18,
- double spacing = 8,
- double runSpacing = 8,
- Widget? separator,
- Color labelColor = Colors.white,
- TextStyle? labelStyle,
- WrapType wrapType = WrapType.scroll,
- EdgeInsets labelPadding = EdgeInsets.zero,
- 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,
});