EzDropdownButtonState class
Full documentation: https://www.ezflap.io/deep-dive/core-widgets/core-widgets.html#ezdropdownbutton
Wraps DropdownButton.
- Inheritance
-
- Object
- State<
EzDropdownButton> - EzDropdownButtonState
- Annotations
-
- @EzWidget()
Constructors
Properties
- $ezStateGuid ↔ int
-
getter/setter pairinherited
- bh → _$BuildHost
-
use only for testing!
no setterinherited
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- widget → EzDropdownButton
-
The current configuration.
no setterinherited
Methods
-
$getBuildHost(
) → _$BuildHost -
inherited
-
$getModelHandler<
U> (String key, bool useDummyModelIfNotProvidedByHostWidget) → $ModelHandler< U> -
inherited
-
$getRouteParam<
U> (String key) → U -
inherited
-
$hasModelHandler(
String key) → bool -
inherited
-
$hasReachedReadyNowOrBefore(
) → bool -
Should not be overridden or used by application code
inherited
-
$initDI(
[Map< String, dynamic> ? mapOverrides]) → void -
inherited
-
$instantiateOrMock(
String key, Function funcInstantiate) → EzStatefulWidgetBase -
inherited
-
$internalBuild(
BuildContext context) → Widget -
Should not be overridden by application code
inherited
-
$internalInitState(
) → void -
Should not be overridden or used by application code
inherited
-
$internalOnReady(
) → void -
Should not be overridden or used by application code
inherited
-
$internalRefreshProps(
) → void -
Should not be overridden or used by application code
inherited
-
$isReady(
) → bool -
Should not be overridden or used by application code
inherited
-
$tryGetModelHandler<
U> (String key) → $ModelHandler< U> ? -
inherited
-
$tryGetRouteParam<
U> (String key, U defaultValue) → U -
inherited
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
build(
BuildContext context) → Widget -
Should not be overridden by application code
inherited
-
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 EzDropdownButton oldWidget) → void -
Called whenever the widget configuration changes.
inherited
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
inherited
-
getInterpolatedText(
) → String -
Full documentation: https://www.ezflap.io/advanced/interpolated-text/interpolated-text.html
inherited
-
hasEmitHandler(
String emitKey) → bool -
Full documentation: https://www.ezflap.io/deep-dive/events/events.html
inherited
-
hookBuildInitialWidget(
) → Widget? -
Called right after
hookInitState
, to give the application code a chance to provide an alternative Widget to render while the widget is being initialized.inherited -
hookDispose(
) → void -
Called during State.dispose before the registered dispose callbacks
(see
onDispose
) are invoked.inherited -
hookInitState(
) → void -
Called during State.initState, after initializing all EzField with
their default values.
inherited
-
hookPrepare(
) → Future< void> -
Called shortly after
hookInitState
.inherited -
hookReady(
) → Future< void> -
Called immediately after
hookPrepare
returns.inherited -
initState(
) → void -
Called when this object is inserted into the tree.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
VoidCallback func) → void -
Call this function to register a callback to be called when disposing
(i.e. when State.dispose is called).
inherited
-
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
tryGetInterpolatedText(
) → String? -
Full documentation: https://www.ezflap.io/advanced/interpolated-text/interpolated-text.html
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited