SparkTagGroupItemWidget constructor
const
SparkTagGroupItemWidget({
- Key? key,
- required SparkTagGroupItem data,
- int maxLines = 1,
- double? maxWidth,
- EdgeInsets? padding,
- bool isSelect = false,
- Decoration? selectedDecoration,
- Decoration? decoration,
- TextStyle? style,
- TextStyle? selectStyle,
- bool showTagIcon = false,
- TagGroupItemIconBuilder? iconBuilder,
- VoidCallback? onIconClick,
- double? minWidth,
- Widget? customWidget,
- Size? cleanSize,
- double offsetFactor = 0.35,
Implementation
const SparkTagGroupItemWidget({
Key? key,
required this.data,
this.maxLines = 1,
this.maxWidth,
this.padding,
this.isSelect = false,
this.selectedDecoration,
this.decoration,
this.style,
this.selectStyle,
this.showTagIcon = false,
this.iconBuilder,
this.onIconClick,
this.minWidth,
this.customWidget,
this.cleanSize,
this.offsetFactor = 0.35,
}) : super(key: key);