JoltSignalHookCreator class abstract

Helper class for creating signal hooks in SetupWidget.

Constructors

JoltSignalHookCreator()

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

async<T>(AsyncSource<T> source, {AsyncState<T>? initialValue, JoltDebugFn? onDebug}) AsyncSignal<T>
Creates an async signal hook for managing asynchronous operations.
call<T>(T value, {JoltDebugFn? onDebug}) Signal<T>
Creates a reactive signal hook with an initial value.
iterable<T>(Iterable<T> getter(), {JoltDebugFn? onDebug}) IterableSignal<T>
Creates a reactive iterable signal hook.
lazy<T>({JoltDebugFn? onDebug}) Signal<T>
Creates a lazy signal hook without an initial value.
list<T>(List<T>? value, {JoltDebugFn? onDebug}) ListSignal<T>
Creates a reactive list signal hook.
map<K, V>(Map<K, V>? value, {JoltDebugFn? onDebug}) MapSignal<K, V>
Creates a reactive map signal hook.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
persist<T>(T initialValue(), FutureOr<T> read(), FutureOr<void> write(T value), {bool lazy = false, Duration writeDelay = Duration.zero, JoltDebugFn? onDebug}) PersistSignal<T>
Creates a persistent signal hook that saves to external storage.
set<T>(Set<T>? value, {JoltDebugFn? onDebug}) SetSignal<T>
Creates a reactive set signal hook.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited