DynamicMultiCheck constructor
const
DynamicMultiCheck({
- Key? key,
- List<
CheckItem> initialItems = const [], - bool showAddButton = true,
- bool showDeleteButton = true,
- bool showEditButton = false,
- bool showJsonButton = false,
- Color? activeColor,
- TextStyle? itemTextStyle,
- TextStyle? valueTextStyle,
- String addButtonText = 'Add New Item',
- VoidCallback? onItemsChanged,
- ValueChanged<
List< ? onCheckedItemsChanged,CheckItem> >
Implementation
const DynamicMultiCheck({
super.key, // Changed to super.key
this.initialItems = const [],
this.showAddButton = true,
this.showDeleteButton = true,
this.showEditButton = false,
this.showJsonButton = false,
this.activeColor,
this.itemTextStyle,
this.valueTextStyle,
this.addButtonText = 'Add New Item',
this.onItemsChanged,
this.onCheckedItemsChanged,
});