checkbox_grouped library Null safety

Classes

ChipGroupStyle
class ChipGroupStyle for style text in SimpleGroupedCheckbox
ChipsStyle
CustomGridIndexedWidgetBuilder
CustomGroupController
CustomStateGroup to manage custom selection grouped
CustomGroupedCheckbox<T>
display custom groupedCheckbox with your custom check behavior and custom child widget
CustomIndexedWidgetBuilder
GroupController
GroupController to manage simple grouped checkbox/chips/switch isMultipleSelection : (bool) enable multiple selection in grouped checkbox (default:false). initSelectedItem : (List) A Initialize list of values that will be selected in group.
GroupStyle
class GroupedStyle for style text in SimpleGroupedCheckbox
ListCustomGroupController
ListGroupController to manage list of grouped checkbox/chips/switch isMultipleSelectionPerGroup : (List
ListCustomGroupedCheckbox
display simple groupedCheckbox controller : (required) List Group Controller to recuperate selection
ListCustomGroupedCheckboxState
ListGroupController
ListGroupController to manage list of grouped checkbox/chips/switch isMultipleSelectionPerGroup : (List
ListGroupedCheckbox<T>
display simple groupedCheckbox controller : (required) List Group Controller to recuperate selection
SimpleGroupedCheckbox<T>
display simple groupedCheckbox
SimpleGroupedChips<T>
controller : A list of values that you want to be initially selected.
SimpleGroupedSwitch<T>
controller :(required) GroupController to recuperate selectedItems. values :(required) Values contains in each element. itemsTitle :(required) A list of strings that describes each chip button onItemSelected : callback listner when item is selected disableItems : Specifies which item should be disabled
SwitchGroupStyle
class SwitchGroupStyle for style text in SimpleGroupedSwitch

Extensions

initialization

Functions

showDialogGroupedCheckbox({required BuildContext context, required Text dialogTitle, required List<String> itemsTitle, required List values, List initialSelectedValues = const [], bool isDismissible = true, String cancelDialogText = "Cancel", String submitDialogText = "Select", bool isMultiSelection = false}) Future
display groupedCheckbox inside dialog context : BuildContext to pop the dialog dialogTitle : Text Widget that describe Title of dialog itemsTitle : list of strings that describe each checkbox values : list of values initialSelectedValues : list of initial values that you want to be selected isDismissible : determine whether this route can be dismissed by tapping the modal barrier cancelDialogText : label for cancelButton submitDialogText : label for submitButton isMultiSelection : enable mutli selection groupedCheckbox

Enums

GroupedType

Typedefs

CustomItemIndexedWidgetBuilder = Widget Function(BuildContext builder, int index, bool checked, bool isDisabled)
Signature for a function that creates a widget for a given index,isChecked and disabled, e.g., in a list.
CustomListener = void Function(dynamic)
OnChanged = dynamic Function(dynamic selected)
OnCustomGroupChanged<T> = void Function(Map<int, dynamic> selected)
OnGroupChanged<T> = void Function(dynamic selected)