DynamicMultiCheck constructor

const DynamicMultiCheck({
  1. Key? key,
  2. List<CheckItem> initialItems = const [],
  3. bool showAddButton = true,
  4. bool showDeleteButton = true,
  5. bool showEditButton = false,
  6. bool showJsonButton = false,
  7. Color? activeColor,
  8. TextStyle? itemTextStyle,
  9. TextStyle? valueTextStyle,
  10. String addButtonText = 'Add New Item',
  11. VoidCallback? onItemsChanged,
  12. ValueChanged<List<CheckItem>>? onCheckedItemsChanged,
})

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,
});