rx library
Headless reactive primitives (Rx, Rxn, RxString, RxBool, RxInt,
RxDouble, RxList, RxMap, RxSet, .obs) without SINT UI navigation.
Classes
-
Computed<
T> -
A memoized, glitch-free derived reactive value for Pillar S (
Sint.computed). -
CustomStatus<
T> - DeepCollectionEquality
-
DefaultEquality<
E> -
EmptyStatus<
T> -
ErrorStatus<
T, S> -
IdentityEquality<
E> - Equality of objects that compares only the identity of the objects.
-
IEquality<
E> - A generic equality relation on objects.
-
IterableEquality<
E> - Equality on iterables.
-
ListEquality<
E> - Equality on lists.
- ListNotifier
- The core notification engine for Pillar S (State). Maintained with original names to ensure multirepo compatibility.
-
LoadingStatus<
T> -
MapEquality<
K, V> - Equality on maps.
- Notifier
- The dependency tracking singleton (The "Synapse" of SINT).
- NotifyData
-
Holds reactive subscription state for a single
Obxelement orComputedsignal. -
Rx<
T> -
Foundation class used for custom
Typesoutside the common native Dart types. For example, any custom "Model" class, like User().obs will useRxas wrapper. - RxBool
-
global object that registers against
SINTandObx, and allows the reactivity of thoseWidgetsand Rx values. - RxDouble
-
RxFuture<
T> - Reactive async state holder built on Rx and SintStatus.
-
RxImpl<
T> - Base Rx class that manages all the stream logic for any Type.
- RxInt
-
RxInterface<
T> -
This class is the foundation for all reactive (Rx) classes that makes SINT
so powerful.
This interface is the contract that
_RxImpl<T>uses in all it's subclass. -
RxList<
E> -
Create a list similar to
List<T> -
RxMap<
K, V> -
Rxn<
T> - RxnBool
- RxnDouble
- RxnInt
- RxnNum
- RxnString
-
Rx class for
StringType. - RxNum
-
RxSet<
E> - RxString
-
Rx class for
StringType. -
SetEquality<
E> - Equality of sets.
- SintController
- A base controller class that provides state management functionality.
-
SintListenable<
T> -
SintStatus<
T> - Algebraic data type for async operation states.
-
SuccessStatus<
T> -
UnorderedIterableEquality<
E> - Equality of the elements of two iterables without considering order.
Mixins
- Equality
-
RxObjectMixin<
T> -
global object that registers against
SINTandObx, and allows the reactivity of thoseWidgetsand Rx values. - SintLifeCycleMixin
- The SintLifeCycleMixin
Extensions
- BoolExtension on bool
- DoubleExtension on double
- IntExtension on int
-
ListExtension
on List<
E> -
MapExtension
on Map<
K, V> -
RxBoolExt
on Rx<
bool> -
RxDoubleExt
on Rx<
double> -
RxIntExt
on Rx<
int> -
RxnBoolExt
on Rx<
bool?> -
RxnDoubleExt
on Rx<
double?> -
RxnIntExt
on Rx<
int?> -
RxnNumExt
on Rx<
T?> -
RxnStringExt
on Rx<
String?> -
RxNumExt
on Rx<
T> -
RxStringExt
on Rx<
String> - RxT on T
- RxTnew on Object
-
This method will replace the old
.obsmethod. It's a breaking change, but it is essential to avoid conflicts with the new dart 3 features. T will be inferred by contextual type inference rather than the extension type. -
SetExtension
on Set<
E> - SintListenableBridgeExtension on Listenable
-
Bridges any Flutter Listenable (e.g.
ChangeNotifier,ScrollController,TabController) into anObxorComputedscope. -
SintValueListenableExtension
on ValueListenable<
T> -
Bridges any Flutter ValueListenable (e.g. ValueNotifier,
TextEditingController,Animation<double>) directly intoObxandComputedscopes, or converts it into a synchronized Rx. - StringExtension on String
Typedefs
- Disposer = VoidCallback
-
InitBuilder<
T> = T Function() -
SintControllerBuilder<
T extends SintLifeCycleMixin> = Widget Function(T controller) - SintStateUpdate = VoidCallback
- VoidCallback = void Function()
- WidgetCallback = Widget Function()