checkbox_grouped library

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)