Fit class
The core Fit state management system with automatic controller instantiation
Constructors
- Fit.new()
-
factory
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 Methods
-
exists<
T extends FitState> () → bool - Check if controller exists
-
explore<
T extends FitState> (T factory()) → void - Register controller with explore method (used in FitBindings)
-
find<
T extends FitState> () → T - Finds or creates a controller automatically
-
registerFactory<
T extends FitState> (T factory()) → void -
reset(
) → void - Reset all controllers