SelectionController class

Constructors

SelectionController({required String label, required List<DropdownModel> items, required int column, DropdownModel? selectedItem, VoidCallback? updateFunc, dynamic onChangeFunc(DropdownModel?)?, List<DropdownModel>? defualtItem})

Properties

column int
getter/setter pair
defualtItem List<DropdownModel>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isValid bool
getter/setter pair
items List<DropdownModel>
getter/setter pair
label String
getter/setter pair
onChangeFunc ↔ dynamic Function(DropdownModel?)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItem DropdownModel?
getter/setter pair
totalRow int
no setter
updateFunc VoidCallback?
getter/setter pair

Methods

checkValid() bool
clearItems() → dynamic
copyWith({String? label, List<DropdownModel>? items, DropdownModel? selectedItem, int? column}) SelectionController
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(DropdownModel? value) → dynamic
reset() → dynamic
toString() String
A string representation of this object.
inherited
updateList(List<DropdownModel> items) → dynamic

Operators

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