SparkTagGroup constructor
const
SparkTagGroup({
- Key? key,
- TagGroupItemBuilder? itemBuilder,
- required FormGroupItem manage,
- bool showClean = false,
- SparkTagGroupType type = SparkTagGroupType.multiple,
- double spacing = 10,
- double runSpacing = 10,
- void onAdd(
- BuildContext context,
- List<
SparkTagGroupItem> data
- Widget? addWidget,
- String? hitText,
- Widget? hitWidget,
- TextStyle? hitStyle,
- WrapAlignment? alignment,
- TagGroupItemIconBuilder? cleanIconBuilder,
- Size? cleanSize,
- 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);