StateManagerOverrides class abstract

Global configuration for state managers.

This class provides a way to override default behaviors across all state managers in your application. It defines global settings like the default observer and function handler factory used by state managers.

You can customize these settings to apply consistent behavior across your entire application without having to configure each state manager individually.

Example:

// Set a custom observer for all state managers
StateManagerOverrides.observer = MyCustomObserver();

Constructors

StateManagerOverrides()

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

Static Properties

defaultHandlerFactory FunctionHandlerFactory
Factory function that creates the default FunctionHandler for state managers.
getter/setter pair
defaultShouldEmit bool Function(Object? current, Object? next)
The default shouldEmit implementation.
getter/setter pair
observer StateManagerObserver
The default StateManagerObserver implementation.
getter/setter pair