GroupController class Null safety

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.


GroupController({dynamic initSelectedItem = const [], bool isMultipleSelection = false})


hashCode int
The hash code for this object.
initSelectedItem ↔ dynamic
read / write
isMultipleSelection bool
runtimeType Type
A representation of the runtime type of the object.
selectedItem → dynamic


deselectAll() → void
deselect all items in group
deselectValues<k>(List<k> values) → void
deselect some/one item(s) in group values : (dynamic) value(s) of item(s) that should deselected
disableAll() → void
disable all items in groupedCheckBox
disabledItemsByTitles(List<String> items) → void
disabled the items by there titles in groupedCheckBox
disabledItemsByValues(List itemsValues) → void
disabled the items by there values in groupedCheckBox
enableAll() → void
enable all items in groupedCheckBox
enabledItemsByTitles(List<String> items) → void
enable items by there Titles in groupedCheckBox
enabledItemsByValues(List itemsValues) → void
enable items by there values that was disabled in groupedCheckBox
init(StateGroup<dynamic, StatefulWidget> state) → void
listen(void listener(dynamic)) → void
add listener : to get data changed directly
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
select<k>(k value) → void
select one item in group ( singeSelection/multiple selection) value : (dynamic) value of item that should selected
selectAll() → void
select all items in group
selectItems<k>(List<k> values) → void
select some/one item(s) in group values : (dynamic) value(s) of item(s) that should selected
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.