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
ReactterNotifyManagerand 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
Tand notify the listeners when the value is updated. -
UseAsyncState<
T, A> -
A
ReactteHookthat 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
Tinstance 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
Signalobject. - UseAsyncStateStatus
Extensions
-
ObjBigIntExt
on Obj<
BigInt> -
ObjBigIntNullExt
on Obj<
BigInt?> -
ObjBoolExt
on Obj<
bool> -
ObjDateTimeExt
on Obj<
DateTime> -
ObjDateTimeNullExt
on Obj<
DateTime?> -
ObjDoubleExt
on Obj<
double> -
ObjDoubleNullExt
on Obj<
double?> - ObjGenericTypeExt on T
-
ObjIntExt
on Obj<
int> -
ObjIntNullExt
on Obj<
int?> -
ObjIterableExt
on Obj<
Iterable< E> > -
ObjIterableNullExt
on Obj<
Iterable< E> ?> -
ObjListExt
on Obj<
List< E> > -
ObjListNullExt
on Obj<
List< E> ?> -
ObjMapExt
on Obj<
Map< K, V> > -
ObjMapNullExt
on Obj<
Map< K, V> ?> -
ObjNullExt
on Obj<
T?> -
ObjNumExt
on Obj<
num> -
ObjNumNullExt
on Obj<
num?> -
ObjSetExt
on Obj<
Set< E> > -
ObjSetNullExt
on Obj<
Set< E> ?> -
ObjStringExt
on Obj<
String> -
ObjStringNullExt
on Obj<
String?> -
ObjToSignalExt
on Obj<
T> - SignalGenericTypeExt on T
-
SignalListExt
on Signal<
List< E> > -
SignalListNullExt
on Signal<
List< E> ?> -
SignalMapExt
on Signal<
Map< K, V> > -
SignalMapNullExt
on Signal<
Map< K, V> ?> -
SignalNullExt
on Signal<
T?> -
SignalSetExt
on Signal<
Set< E> > -
SignalSetNullExt
on Signal<
Set< E> ?> -
SignalToObjExt
on Signal<
T>
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)