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