UFUMultiSelectState class
- Inheritance
-
- Object
- State<
UFUMultiSelect> - UFUMultiSelectState
Constructors
Properties
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- doCloneLists ↔ bool
-
doCloneLists is used as a comparator to avoid state leaks
getter/setter pair
- filterListItemsCount ↔ int
-
getter/setter pair
-
filterListOnActiveBase
→ List<
UFUMultiSelectModel> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeInactive ↔ bool
-
Define to show include inactive or exclude inactive user
getter/setter pair
- isSelectedSubList ↔ bool
-
Defines to show subList is Selected or not.
getter/setter pair
- isViewSubList ↔ bool
-
Define to show subList or not.
getter/setter pair
-
list
↔ List<
UFUMultiSelectModel> -
list is used to store results of main list locally
getter/setter pair
-
listfilter
↔ List<
UFUMultiSelectModel> -
list is used to store results of filter by users from list locally
getter/setter pair
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController ↔ ScrollController
-
In case of network list, scrollController helps in load-more
getter/setter pair
- scrollList → ScrollController
-
final
-
selectedItems
↔ List<
UFUMultiSelectModel> -
selectedItems is used to store list list of selected items
getter/setter pair
-
selectedSubListId
↔ List<
String> -
getter/setter pair
-
selectedSubListItems
↔ List<
UFUMultiSelectModel> -
selectedItems is used to store list selectedSubList of selected items
getter/setter pair
-
selectedUserListOnActiveStatus
→ List<
UFUMultiSelectModel> -
no setter
-
subList
↔ List<
UFUMultiSelectModel> -
list is used to store results of sub list locally
getter/setter pair
-
tempSelectedItems
↔ List<
UFUMultiSelectModel> -
tempSelectedItems is used to store list listfilter of selected items
getter/setter pair
- tempSelectedItemsCount ↔ int
-
getter/setter pair
- textEditingController ↔ TextEditingController
-
textEditingController is used in search field
getter/setter pair
-
userListOnActiveStatus
→ List<
UFUMultiSelectModel> -
no setter
- widget → UFUMultiSelect
-
The current configuration.
no setterinherited
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
cloneList(
{bool addToLists = false}) → void -
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(
covariant UFUMultiSelect oldWidget) → void -
Called whenever the widget configuration changes.
inherited
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
inherited
-
getIsSelectedSubList(
) → void -
getList(
) → List< UFUMultiSelectModel> -
getSelectedItemCount(
) → int -
initState(
) → void -
Called when this object is inserted into the tree.
override
-
isMaxSelectionsReached(
) → bool -
listCount(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDone(
) → void -
onFilterTags(
String subListId, String action) → void -
onSearch(
String value) → void -
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
selectAndClearAll(
) → void -
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
setUpSelectedValues(
) → void -
tempListselectAndClearAll(
) → void -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toggleIncludeInactiveValue(
) → void -
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited