NonRenderState class
Base class for states that do not trigger UI rendering.
This abstract class serves as the foundation for states that are primarily used for managing internal business logic and data processing, where the state does not directly affect the UI. It is typically used for handling states related to background tasks, loading, or errors that are not immediately visible in the UI.
Usage
Extend NonRenderState to define states that are intended for
non-UI rendering purposes. For example:
class CustomErrorState extends NonRenderState {
final String errorMessage;
CustomErrorState(this.errorMessage);
}
This allows for handling business logic states without involving UI updates.
- Inheritance
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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