AnythingFielder class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- AnythingFielder
Constructors
- AnythingFielder({Key? key, String? title, String? value, Widget? builderOfTitle(AnythingFielderState state)?, void funcOfTitleOnTapped(AnythingFielderState state, BuildContext context)?, String? funcOfValue(AnythingFielderState state)?, Widget? builderOfContentInner(AnythingFielderState state)?, Widget? builderOfContentOuter(AnythingFielderState state)?, void funcOfEndClear(AnythingFielderState state)?, Widget? builderOfEndWidget(AnythingFielderState state)?, Widget? builderOfStartWidget(AnythingFielderState state)?, void onEventTextFocused(AnythingFielderState state)?, void onEventTextChanged(AnythingFielderState state, String text)?, bool? isEditable = true, bool? isLoading = false, bool? isRequired, AnythingFielderOptions? options})
Properties
- builderOfContentInner ↔ (Widget? Function(AnythingFielderState state)?)
-
getter/setter pair
- builderOfContentOuter ↔ (Widget? Function(AnythingFielderState state)?)
-
getter/setter pair
- builderOfEndWidget ↔ (Widget? Function(AnythingFielderState state)?)
-
getter/setter pair
- builderOfStartWidget ↔ (Widget? Function(AnythingFielderState state)?)
-
getter/setter pair
- builderOfTitle ↔ (Widget? Function(AnythingFielderState state)?)
-
false/null/none-implement for continue using the default behaviour
getter/setter pair
- funcOfEndClear ↔ (void Function(AnythingFielderState state)?)
-
getter/setter pair
- funcOfTitleOnTapped ↔ (void Function(AnythingFielderState state, BuildContext context)?)
-
getter/setter pair
- funcOfValue ↔ (String? Function(AnythingFielderState state)?)
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEditable ↔ bool?
-
disable edit and indicate the content using Text but not the EditableText widget
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
- onEventTextChanged ↔ (void Function(AnythingFielderState state, String text)?)
-
getter/setter pair
- onEventTextFocused ↔ (void Function(AnythingFielderState state)?)
-
getter/setter pair
- options ↔ AnythingFielderOptions?
-
all the element widget settings
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
getter/setter pair
- value ↔ String?
-
getter/setter pair
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< AnythingFielder> -
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