AutoSelectorMixin mixin
Mixin for automatic selector notifications
- Superclass constraints
- Available extensions
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 setterinherited
Methods
-
fitAll(
) → void -
Override fitAll to also update selectors
override
-
fitSelect<
T> (String key, T selector()) → Stream< T> -
Selector system - get or create a stream for specific data
inherited
-
fitSelectRefresh<
T> (String key, T selector()) → void -
Auto-update selector based on current state
inherited
-
fitSelectUpdate<
T> (String key, T value) → void -
Update specific selector
inherited
-
fittor(
[String? tag]) → void -
Override fittor to also update selectors
override
-
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
inherited
-
onInit(
) → void -
Called when the controller is first created
inherited
-
registerSelector(
String key) → void - Register a selector for auto-updates
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterSelector(
String key) → void - Unregister a selector
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited