MVUWidget<Model, Msg> class
abstract
This widget exposes the MVU as base class for scenarios where the MVUBuilder is not suitable. For example, when the widget has local dependencies that are not part of the model. In this case, the widget can extend this class and implement the abstract methods.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- MVUWidget
Properties
Methods
-
build(
BuildContext context, Model model, Dispatch< Msg> dispatch) → Widget -
createElement(
) → Element -
Inflates this configuration to a concrete instance.
override
-
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
-
init(
) → (Model, Cmd< Msg> ) -
modelEquality(
Model previousModel, Model nextModel) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscriptions(
Model model) → Subs< Msg> -
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
-
update(
Msg msg, Model model) → (Model, Cmd< Msg> )
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited