FitState class abstract
Base class for all state controllers
- Implementers
- Available extensions
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
-
updateStream
→ Stream<
String?> -
Stream for general updates
no setter
Methods
-
fitAll(
) → void - Update ALL builders regardless of tags
-
fitSelect<
T> (String key, T selector()) → Stream< T> - Selector system - get or create a stream for specific data
-
fitSelectRefresh<
T> (String key, T selector()) → void - Auto-update selector based on current state
-
fitSelectUpdate<
T> (String key, T value) → void - Update specific selector
-
fittor(
[String? tag]) → void - Update only builders with NO tag or specific tag
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifySelector<
R> (String key, R selector()) → void -
Available on FitState, provided by the FitSelectorExtension extension
Notify selector to update with new value -
notifySelectors(
) → void -
Available on FitState, provided by the FitSelectorExtension extension
Auto-notify all selectors (call this in your state changes) -
onClose(
) → void - Called when the controller is being disposed
-
onInit(
) → void - Called when the controller is first created
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited