AnythingSelector class
Constructors
-
AnythingSelector({Key? key, List? values, FutureOr<List?> funcOfValues()?, dynamic selectedValue, List? selectedValues, List? disabledValues, String? funcOfItemName(AnythingSelector view, int? index, dynamic object)?, bool? funcOfItemOnTapped(AnythingSelector view, int index, dynamic object)?, bool funcOfItemIsEqual(AnythingSelector view, int index, dynamic object, dynamic e)?, bool? funcOfItemIfSelected(AnythingSelector view, int index, dynamic object)?, bool? funcOfItemIfDisabled(AnythingSelector view, int index, dynamic object)?, Widget? builderOfItemInner(AnythingSelector view, int index, dynamic object)?, Widget? builderOfItemOuter(AnythingSelector view, int index, dynamic object)?, Widget? builderOfItemChildren(AnythingSelector view, int index, dynamic object, List<Widget> children)?, bool? isSearchEnable, Widget? searchBoxBuilder(AnythingSelector view, void fn(String text))?, void searchTextOnChanged(AnythingSelector view, String text)?, bool? searchableOnChanged(AnythingSelector view, String text, int index, dynamic object)?, AnythingSelectorOptions? options})
-
Properties
-
getter/setter pair
-
builderOfItemChildren
↔ (Widget? Function(AnythingSelector view, int index, dynamic object, List<Widget> children)?)
-
getter/setter pair
-
builderOfItemInner
↔ (Widget? Function(AnythingSelector view, int index, dynamic object)?)
-
getter/setter pair
-
builderOfItemOuter
↔ (Widget? Function(AnythingSelector view, int index, dynamic object)?)
-
getter/setter pair
-
disabledValues
↔ List?
-
getter/setter pair
-
funcOfItemIfDisabled
↔ (bool? Function(AnythingSelector view, int index, dynamic object)?)
-
getter/setter pair
-
funcOfItemIfSelected
↔ (bool? Function(AnythingSelector view, int index, dynamic object)?)
-
getter/setter pair
-
funcOfItemIsEqual
↔ (bool Function(AnythingSelector view, int index, dynamic object, dynamic e)?)
-
getter/setter pair
-
funcOfItemName
↔ (String? Function(AnythingSelector view, int? index, dynamic object)?)
-
getter/setter pair
-
funcOfItemOnTapped
↔ (bool? Function(AnythingSelector view, int index, dynamic object)?)
-
getter/setter pair
-
funcOfValues
↔ (FutureOr<List?> Function()?)
-
getter/setter pair
-
getOptions
→ AnythingSelectorOptions
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
getter/setter pair
-
getter/setter pair
-
isSearchEnable
↔ bool?
-
Search
getter/setter pair
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
options
↔ AnythingSelectorOptions?
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
searchableOnChanged
↔ (bool? Function(AnythingSelector view, String text, int index, dynamic object)?)
-
getter/setter pair
-
searchBoxBuilder
↔ (Widget? Function(AnythingSelector view, void fn(String text))?)
-
getter/setter pair
-
searchTextOnChanged
↔ (void Function(AnythingSelector view, String text)?)
-
getter/setter pair
-
searchValues
↔ List?
-
getter/setter pair
-
searchValuesKey
↔ BtKey
-
getter/setter pair
-
selectedValue
↔ dynamic
-
getter/setter pair
-
selectedValues
↔ List?
-
getter/setter pair
-
tappingIndexes
↔ List<int>
-
getter/setter pair
-
values
↔ List?
-
getter/setter pair
-
widget
→ AnythingSelector
-
no setter
Methods
-
build(BuildContext context)
→ Widget
-
Describes the part of the user interface represented by this widget.
override
-
createElement()
→ StatelessElement
-
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren()
→ List<DiagnosticsNode>
-
Returns a list of
DiagnosticsNode
objects describing this node's
children.
inherited
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
inherited
-
getValuesPicker(List? items)
→ Widget
-
-
getValuesSearchBox()
→ Widget
-
-
isContains(List? list, dynamic e)
→ bool?
-
-
itemDisplayName(int? i, dynamic e)
→ String
-
-
itemIsDisabled(int i, dynamic e)
→ bool
-
-
itemIsSelected(int i, dynamic e)
→ bool
-
-
itemIsTapping(int i)
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode
-
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String
-
A string representation of this object.
inherited
-
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String
-
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String
-
Returns a one-line detailed description of the object.
inherited
-
toStringShort()
→ String
-
A short, textual description of this widget.
inherited