EzStatefulWidgetBase class abstract

Full documentation: https://www.ezflap.io/essentials/introduction/introduction.html#ezflap-widget-classes

ezFlaps widgets are stateful, and like any stateful Flutter widget - consist of two classes. The class that, for a native Flutter widget would extend StatefulWidget - needs to extend EzStatefulWidgetBase instead.

Inheritance
Implementers

Constructors

EzStatefulWidgetBase({Key? key})

Properties

$ezWidgetGuid int
getter/setter pair
funcNotifyDispose ↔ _TFuncNotifyDispose?
getter/setter pair
funcNotifyInitState ↔ _TFuncNotifyInitState?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$getDIOverrides() Map<String, dynamic>?
$getProp<T>(String key, [T? def]) → T
$getRouteParamFromWidgetWrapper(String key) → dynamic
$getSingleSlotProviderWidgetOrDefault(String? slotName, Map<String, dynamic> mapScopeParams, Widget defaultWidget) Widget
$getSlotProviderWidgets(String? slotName, Map<String, dynamic> mapScopeParams) List<Widget>
$hasSlotProvider(String? name) bool
$hasWidgetWrapper() bool
$initEmitHandlers(Map<String, Function> mapEmitHandlers) → void
$initLifecycleHandlers(_TFuncNotifyInitState funcNotifyInitState, _TFuncNotifyDispose funcNotifyDispose) → void
$initModelHandlers(Map<String, $ModelHandler> mapModels) → void
$initProps(Map<String, dynamic> mapProps) → void
$initSlotProviders(Map<String?, $SlotProvider> mapSlotProviders) → void
$initWidgetWrapper($IWidgetWrapperForWidget widgetWrapper) → void
$isPropPopulated(String key) bool
$onEmitHandlerInvoked(String key) → void
$setInterpolatedText(String? innerText) → void
$tryGetEmitHandler(String key) Function?
$tryGetInterpolatedText() String?
$tryGetModelHandler<T>(String key) $ModelHandler<T>?
$tryMockWidget(String key) EzStatefulWidgetBase?
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given 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
initEmitHandler(String key, Function onEmit) → void
Full documentation: https://www.ezflap.io/advanced/interoperability/interoperability.html
initInterpolatedText(String interpolatedText) → void
Full documentation: https://www.ezflap.io/advanced/interoperability/interoperability.html
initModel<T>(String key, {required T getter(), required void setter(T value)}) → void
Full documentation: https://www.ezflap.io/advanced/interoperability/interoperability.html
initProp<T>(String key, T value) → void
Full documentation: https://www.ezflap.io/advanced/interoperability/interoperability.html
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