SparkTagGroup constructor

const SparkTagGroup({
  1. Key? key,
  2. TagGroupItemBuilder? itemBuilder,
  3. required FormGroupItem manage,
  4. bool showClean = false,
  5. SparkTagGroupType type = SparkTagGroupType.multiple,
  6. double spacing = 10,
  7. double runSpacing = 10,
  8. void onAdd(
    1. BuildContext context,
    2. List<SparkTagGroupItem> data
    )?,
  9. Widget? addWidget,
  10. String? hitText,
  11. Widget? hitWidget,
  12. TextStyle? hitStyle,
  13. WrapAlignment? alignment,
  14. TagGroupItemIconBuilder? cleanIconBuilder,
  15. Size? cleanSize,
  16. bool enabled = true,
})

Implementation

const SparkTagGroup({
  Key? key,
  this.itemBuilder,
  required FormGroupItem manage,
  this.showClean = false,
  this.type = SparkTagGroupType.multiple,
  this.spacing = 10,
  this.runSpacing = 10,
  this.onAdd,
  this.addWidget,
  this.hitText,
  this.hitWidget,
  this.hitStyle,
  this.alignment,
  this.cleanIconBuilder,
  this.cleanSize,
  bool enabled = true,
}) : super(key: key, manage: manage, enabled: enabled);