Select class
A dropdown selection widget for choosing an option from a list.
- Inheritance
- Available Extensions
Constructors
Properties
- disabled → bool
-
Specifies if the dropdown selection is disabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
The hint text displayed in the dropdown selection.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String?
-
The label displayed above the dropdown selection.
final
- model → FormModel?
-
The form model associated with the dropdown selection.
final
- onChange → (dynamic Function(SelectValue value)?)
-
Callback function invoked when the selected option changes.
final
- onTap → (Future Function()?)
-
Callback function invoked when the dropdown selection is tapped.
final
-
options
→ List<
Option> -
The list of options available for selection.
final
- pickerStyle → PickerStyle?
-
The style configuration for the picker used in the dropdown selection.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → FormStyle?
-
The style configuration for the dropdown selection.
final
- type → FormType?
-
The form type configuration.
final
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
-
getAttribute<
T> (BuildContext context) → Attribute -
Retrieves the attribute of type
Attribute
from the nearest ancestor widget of typeLzFormWrap
.inherited -
getTopInnerLineLabel(
{Color? color}) → _TopInnerLineLabel -
Creates and returns a
_TopInnerLineLabel
widget with the specifiedcolor
.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