reactter library

Classes

DispatchEffect
Obj<T>
A base-class that store a value of T.
ReactterAction<T>
A representation of an event that describes something that happened in the application.
ReactterActionCallable<T, P>
A abstract class of ReactterAction that may be called using a call method.
ReactterHook
An abstract-class that provides the functionality of ReactterNotifyManager and ReactterState.
ReactterInstance<T>
A singleton instance of T
ReactterState
A abstract-class that adds state management features to classes that use it.
Signal<T>
A base-class that store a value of T and notify the listeners when the value is updated.
UseAsyncState<T, A>
A ReactteHook that manages the state as async way.
UseCompute<T>
A ReactterHook that allows to compute a value using a predetermined compute function and a list of state dependencies, and which automatically updates the computed value if a dependency changes.
UseContext<T extends Object>
A ReactterHook that allows to get the T instance with/without id from dependency store when it's ready.
UseEffect
A ReactterHook that manages side-effect.
UseEvent<T extends Object?>
A hook that manages events.
UseReducer<T>
A ReactterHook that manages state using reducer method.
UseState<T>
A ReactterHook that manages a state.

Enums

Lifecycle
SignalEvent
This enumeration is used to represent different events that can occur when getting or setting the value of a Signal object.
UseAsyncStateStatus

Properties

Reactter → _ReactterInterface
final

Typedefs

AsyncFunction<T, A> = Future<T> Function([A arg])
CallbackEvent<T extends Object?, P> = void Function(T? inst, P param)
ContextBuilder<T> = T Function()
A function to generate the instance of T
EventEmit<T> = void Function(Enum eventName, [dynamic param])
LogWriterCallback = void Function(String text, {bool isError})
Reducer<T> = T Function(T state, ReactterAction action)
WhenErrorReturn<R> = R Function(Object? value)
WhenValueReturn<T, R> = R Function(T value)