WidgetWrapper<TState extends $EzStateBase<TWidget> , TWidget extends EzStatefulWidgetBase> class
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mapDIOverrides
→ Map<
String, dynamic> ? -
final
-
mapEmitHandlers
→ Map<
String, Function> -
final
-
mapHostedWidgetMockFactories
→ Map<
String, WidgetMockFactory> -
final
-
mapProps
→ Map<
String, dynamic> -
final
-
mapRouteParams
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → TWidget
-
no setter
- ws → TState
-
synonym for getWidgetState()
no setter
Methods
-
$getDIOverrides(
) → Map< String, dynamic> ? -
override
-
$getRouteParam(
String key) → dynamic -
override
-
$mockWidget(
String key) → _WidgetMockStatefulWidget? -
override
-
$onEmitHandlerInvoked(
String key) → void -
override
-
getModelValue<
T> ([String key = SvcZmlParser.DEFAULT_MODEL_KEY]) → T -
getNumEmits(
String key) → int -
getSingleWidgetMock(
String widgetName) → WidgetMock -
getWidgetMocks(
String widgetName) → List< WidgetMock> -
getWidgetState(
) → TState -
initModel<
T> ({String? name, required T value}) → Rx< T> -
initModelWithRx<
T> ({String name = SvcZmlParser.DEFAULT_MODEL_KEY, required Rx< T> existingModel}) → Rx<T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setModelValue<
T> (T value, [String key = SvcZmlParser.DEFAULT_MODEL_KEY]) → void -
toString(
) → String -
A string representation of this object.
inherited
-
tryGetSingleWidgetMock(
String widgetName) → WidgetMock?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited