SparkTagGroupItemWidget constructor

const SparkTagGroupItemWidget({
  1. Key? key,
  2. required SparkTagGroupItem data,
  3. int maxLines = 1,
  4. double? maxWidth,
  5. EdgeInsets? padding,
  6. bool isSelect = false,
  7. Decoration? selectedDecoration,
  8. Decoration? decoration,
  9. TextStyle? style,
  10. TextStyle? selectStyle,
  11. bool showTagIcon = false,
  12. TagGroupItemIconBuilder? iconBuilder,
  13. VoidCallback? onIconClick,
  14. double? minWidth,
  15. Widget? customWidget,
  16. Size? cleanSize,
  17. 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);