EzTextFieldState class
Full documentation: https://www.ezflap.io/deep-dive/core-widgets/core-widgets.html#eztextfield
Wraps TextField.
- Inheritance
-
- Object
- State<
EzTextField> - EzTextFieldState
- Annotations
-
- @EzWidget(extend: EzTextInputBaseState)
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
- controller ↔ TextEditingController?
-
getter/setter pairinherited
- emit_changed → void Function(String)
-
no setterinherited
- emit_editingComplete → void Function()
-
no setterinherited
- emit_tap → void Function()
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- model ↔ dynamic
-
getter/setter pairinherited
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- prop_autocorrect → bool
-
no setterinherited
-
prop_autofillHints
→ Iterable<
String> ? -
no setterinherited
- prop_autofocus → bool
-
no setterinherited
- prop_buildCounter → (Widget? Function(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?)
-
no setterinherited
- prop_cursorColor → Color?
-
no setterinherited
- prop_cursorHeight → double?
-
no setterinherited
- prop_cursorRadius → Radius?
-
no setterinherited
- prop_cursorWidth → double
-
no setterinherited
- prop_decoration → InputDecoration?
-
no setterinherited
- prop_enabled → bool?
-
no setterinherited
- prop_enableIMEPersonalizedLearning → bool
-
no setterinherited
- prop_enableInteractiveSelection → bool
-
no setterinherited
- prop_enableSuggestions → bool
-
no setterinherited
- prop_expands → bool
-
no setterinherited
- prop_focusNode → FocusNode?
-
no setterinherited
-
prop_inputFormatters
→ List<
TextInputFormatter> ? -
no setterinherited
- prop_key → Key?
-
no setterinherited
- prop_keyboardAppearance → Brightness?
-
no setterinherited
- prop_keyboardType → TextInputType?
-
no setterinherited
- prop_maxLength → int?
-
no setterinherited
- prop_maxLengthEnforcement → MaxLengthEnforcement?
-
no setterinherited
- prop_maxLines → int?
-
no setterinherited
- prop_minLines → int?
-
no setterinherited
- prop_obscureText → bool
-
no setterinherited
- prop_obscuringCharacter → String
-
no setterinherited
- prop_readOnly → bool
-
no setterinherited
- prop_restorationId → String?
-
no setterinherited
- prop_scrollController → ScrollController?
-
no setterinherited
- prop_scrollPadding → EdgeInsets
-
no setterinherited
- prop_scrollPhysics → ScrollPhysics?
-
no setterinherited
- prop_selectionControls → TextSelectionControls?
-
no setterinherited
- prop_showCursor → bool?
-
no setterinherited
- prop_smartDashesType → SmartDashesType?
-
no setterinherited
- prop_smartQuotesType → SmartQuotesType?
-
no setterinherited
- prop_strutStyle → StrutStyle?
-
no setterinherited
- prop_style → TextStyle?
-
no setterinherited
- prop_textAlign → TextAlign
-
no setterinherited
- prop_textAlignVertical → TextAlignVertical?
-
no setterinherited
- prop_textCapitalization → TextCapitalization
-
no setterinherited
- prop_textDirection → TextDirection?
-
no setterinherited
- prop_textInputAction → TextInputAction?
-
no setterinherited
- prop_toolbarOptions → ToolbarOptions?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → EzTextField
-
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_EzTextInputBaseState 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
-
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 EzTextField 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
-
hasModel(
) → bool -
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.
-
hookPrepare(
) → Future< void> -
Called shortly after hookInitState.
inherited
-
hookReady(
) → Future< void> - Called immediately after hookPrepare returns.
-
initState(
) → void -
Called when this object is inserted into the tree.
inherited
-
model_isOfType<
T> () → bool -
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