AnythingPicker class

Anything Picker Class

Inheritance

Constructors

AnythingPicker({Key? key, String? title, void onStateInit(AnythingPickerState state)?, void onStateDispose(AnythingPickerState state)?, Widget? builderOfTitle(AnythingPickerState state)?, void funcOfTitleOnTapped(AnythingPickerState state, BuildContext context)?, bool? funcOfContentOnTapped(AnythingPickerState state, BuildContext context)?, String? funcOfContent(AnythingPickerState state)?, Widget? builderOfContentInner(AnythingPickerState state)?, Widget? builderOfContentOuter(AnythingPickerState state)?, void funcOfEndClear(AnythingPickerState state)?, Widget? builderOfEndWidget(AnythingPickerState state)?, Widget? builderOfStartWidget(AnythingPickerState state)?, void builderOfContentChildren(AnythingPickerState state, List<Widget> children)?, List? values, FutureOr<List?> funcOfValues()?, dynamic selectedValue, List? selectedValues, List? disabledValues, String? funcOfItemName(AnythingPickerState state, int? index, dynamic object)?, bool? funcOfItemOnTapped(AnythingPickerState state, int index, dynamic object)?, bool funcOfItemIsEqual(AnythingPickerState state, int index, dynamic object, dynamic e)?, bool? funcOfItemIfSelected(AnythingPickerState state, int index, dynamic object)?, bool? funcOfItemIfDisabled(AnythingPickerState state, int index, dynamic object)?, Widget? builderOfPicker(AnythingPickerState state, DialogShower shower, List? values)?, Widget? builderOfItemOuter(AnythingPickerState state, int index, dynamic object)?, Widget? builderOfItemInner(AnythingPickerState state, int index, dynamic object)?, Widget? builderOfItemChildren(AnythingPickerState state, int index, dynamic object, List<Widget> children)?, void showerCallback(AnythingPickerState state, DialogShower shower)?, void showerShowedCallback(AnythingPickerState state, DialogShower shower)?, void showerDisposedCallback(AnythingPickerState state, DialogShower shower)?, DialogShower? builderOfShower(AnythingPickerState state, BuildContext context)?, bool? isDisable = false, bool? isLoading = false, bool? isRequired, AnythingPickerOptions? options})

Properties

builderOfContentChildren ↔ (void Function(AnythingPickerState state, List<Widget> children)?)
getter/setter pair
builderOfContentInner ↔ (Widget? Function(AnythingPickerState state)?)
getter/setter pair
builderOfContentOuter ↔ (Widget? Function(AnythingPickerState state)?)
getter/setter pair
builderOfEndWidget ↔ (Widget? Function(AnythingPickerState state)?)
getter/setter pair
builderOfItemChildren ↔ (Widget? Function(AnythingPickerState state, int index, dynamic object, List<Widget> children)?)
getter/setter pair
builderOfItemInner ↔ (Widget? Function(AnythingPickerState state, int index, dynamic object)?)
getter/setter pair
builderOfItemOuter ↔ (Widget? Function(AnythingPickerState state, int index, dynamic object)?)
getter/setter pair
builderOfPicker ↔ (Widget? Function(AnythingPickerState state, DialogShower shower, List? values)?)
getter/setter pair
builderOfShower ↔ (DialogShower? Function(AnythingPickerState state, BuildContext context)?)
getter/setter pair
builderOfStartWidget ↔ (Widget? Function(AnythingPickerState state)?)
getter/setter pair
builderOfTitle ↔ (Widget? Function(AnythingPickerState state)?)
false/null/none-implement for continue using the default behaviour
getter/setter pair
disabledValues List?
getter/setter pair
funcOfContent ↔ (String? Function(AnythingPickerState state)?)
getter/setter pair
funcOfContentOnTapped ↔ (bool? Function(AnythingPickerState state, BuildContext context)?)
getter/setter pair
funcOfEndClear ↔ (void Function(AnythingPickerState state)?)
getter/setter pair
funcOfItemIfDisabled ↔ (bool? Function(AnythingPickerState state, int index, dynamic object)?)
getter/setter pair
funcOfItemIfSelected ↔ (bool? Function(AnythingPickerState state, int index, dynamic object)?)
getter/setter pair
funcOfItemIsEqual ↔ (bool Function(AnythingPickerState state, int index, dynamic object, dynamic e)?)
getter/setter pair
funcOfItemName ↔ (String? Function(AnythingPickerState state, int? index, dynamic object)?)
false/null/none-implement for continue using the default behaviour
getter/setter pair
funcOfItemOnTapped ↔ (bool? Function(AnythingPickerState state, int index, dynamic object)?)
getter/setter pair
funcOfTitleOnTapped ↔ (void Function(AnythingPickerState state, BuildContext context)?)
getter/setter pair
funcOfValues ↔ (FutureOr<List?> Function()?)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDisable bool?
disable the tap event for showing up the picker
getter/setter pair
isLoading bool?
show the loading icon at the end when the content end widget is null
getter/setter pair
isRequired bool?
null will not occupy the space and do not display, true will display and occupy, false just occupying the space.
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onStateDispose ↔ (void Function(AnythingPickerState state)?)
getter/setter pair
onStateInit ↔ (void Function(AnythingPickerState state)?)
init-dispose phase
getter/setter pair
options AnythingPickerOptions?
all the element widget settings
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedValue ↔ dynamic
multi-selection mode just set selectedValues to not-null, else will be the single-selection mode
getter/setter pair
selectedValues List?
getter/setter pair
showerCallback ↔ (void Function(AnythingPickerState state, DialogShower shower)?)
getter/setter pair
showerDisposedCallback ↔ (void Function(AnythingPickerState state, DialogShower shower)?)
getter/setter pair
showerShowedCallback ↔ (void Function(AnythingPickerState state, DialogShower shower)?)
getter/setter pair
title String?
getter/setter pair
values List?
getter/setter pair

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<AnythingPicker>
Creates the mutable state for this widget at a given location in the tree.
override
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
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

Operators

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