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> - SimpleGroupedChips
-
SimpleGroupedSwitch<
T> - SimpleGroupedSwitch
- SwitchGroupStyle
- class SwitchGroupStyle for style text in SimpleGroupedSwitch
Enums
Extensions
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 dialogdialogTitle
: Text Widget that describe Title of dialogitemsTitle
: list of strings that describe each checkboxvalues
: list of valuesinitialSelectedValues
: list of initial values that you want to be selectedisDismissible
: determine whether this route can be dismissed by tapping the modal barriercancelDialogText
: label for cancelButtonsubmitDialogText
: label for submitButtonisMultiSelection
: 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)