checkbox_grouped library

Classes

ChipGroupStyle
class ChipGroupStyle for style text in SimpleGroupedCheckbox
ChipsStyle
CustomGridIndexedWidgetBuilder
CustomGroupController
CustomStateGroup
CustomGroupedCheckbox<T>
display custom groupedCheckbox with your custom check behavior and custom child widget
CustomIndexedWidgetBuilder
GroupController
GroupController
GroupStyle
class GroupedStyle for style text in SimpleGroupedCheckbox
ListCustomGroupController
ListGroupController
ListCustomGroupedCheckbox
ListCustomGroupedCheckbox
ListCustomGroupedCheckboxState
ListGroupController
ListGroupController
ListGroupedCheckbox<T>
ListGroupedCheckbox
SimpleGroupedCheckbox<T>
SimpleGroupedCheckbox
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

Enums

GroupedType

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

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)