EzTextButtonState class

Inheritance
Annotations
  • @EzWidget(extend: EzButtonBaseState)

Constructors

EzTextButtonState()

Properties

$ezStateGuid int
getter/setter pairinherited
bh → _$BuildHost
use only for testing!
no setterinherited
cachedComputedMaybeOnLongPress → (dynamic Function()?)
no setterinherited
cachedComputedMaybeOnPressed → (dynamic Function()?)
no setterinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
emit_longPress → void Function()
no setterinherited
emit_pressed → void Function()
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
prop_autofocus bool
no setterinherited
prop_clipBehavior Clip
no setterinherited
prop_focusNode FocusNode?
no setterinherited
prop_isDisabled bool
no setterinherited
prop_key Key?
no setterinherited
prop_style ButtonStyle?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget → EzStatefulWidgetBase
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
$setBuildHost(covariant $BuildHost_EzButtonBaseState buildHost) → void
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
computedMaybeOnLongPress() → (dynamic Function()?)
inherited
computedMaybeOnPressed() → (dynamic Function()?)
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 EzStatefulWidgetBase 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