CustomGroupController class final
CustomStateGroup
this controller manage a custom selection grouped here UI of group item will be customized as developer want
isMultipleSelection : (bool) enable multiple selection in grouped checkbox (default:false).
initSelectedItem : (List) A Initialize list of values that will be selected in group.
Constructors
- CustomGroupController({bool isMultipleSelection = false, dynamic initSelectedItem})
- CustomGroupController.multiple({List initSelectedItem = const []})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initSelectedItem → List
-
final
- isMultipleSelection → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedItem → dynamic
-
no setter
Methods
-
clearSelection(
) → void -
disabledItems(
List items) → void - enabledItems : to disabled specific items by they values
-
enabledItems(
List items) → void - enabledItems : to make items enabled
-
init(
CustomStateGroup< dynamic, StatefulWidget> stateGroup) → void -
listen(
void listener(dynamic)) → void - add listener : to get data changed directly
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited