PlainState class final

Marks an owned state factory whose return type must not be an ObservableObject.

Use ObservableState when the returned state is itself observable.

Inheritance

Constructors

PlainState({String? name, bool autoDispose = true})
const

Properties

autoDispose bool
Whether generated lifecycle code calls an available zero-argument dispose() method on this state.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
The name injected into the generated build method.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited