dart_super library

Super is a state management framework for dart that aims to simplify and streamline the development of reactive and scalable applications. It provides a set of tools and abstractions to manage state and handle side effects in a declarative and efficient manner.

Key Features:

  • Reactive state management.
  • Simple dependency injection.
  • Intuitive testing, dedicated testing library super_test.

With Super, you can build robust and scalable dart applications while maintaining clean and organized code. The framework strives to adhere to the high standards in terms of readability, documentation, and usability.

Give Super a try and experience a streamlined approach to state management in Dart!

Best regards, DrDejaVu

Classes

Rx<T>
An abstract base class for implementing reactive objects.
RxBool
A reactive container for holding a state of type T.
RxDouble
A reactive container for holding a state of type T.
RxInt
A reactive container for holding a state of type T.
RxList<T>
A reactive list that extends the functionality of a regular Dart list and notifies its listeners when the list is modified.
RxListener
RxListener
RxMap<K, V>
A reactive map that extends the functionality of a regular Dart map and notifies its listeners when the map is modified.
RxMerge<T>
RxMerge
RxNotifier<T>
An abstract base class for creating reactive notifiers that manage a state of type T.
RxSet<T>
A reactive container for managing a set of unique values of type T.
RxString
A reactive container for holding a state of type T.
RxT<T>
A reactive container for holding a state of type T.
SuperController
A mixin class that provides a lifecycle for controllers used in the application.

Mixins

SuperModel
A class that provides value equality checking for classes.

Extensions

RxBoolExt on bool
A reactive container for holding a state of type T.
RxDoubleExt on double
A reactive container for holding a state of type T.
RxIntExt on int
A reactive container for holding a state of type T.
RxListExt on List<T>
A reactive list that extends the functionality of a regular Dart list and notifies its listeners when the list is modified.
RxMapExt on Map<K, V>
A reactive map that extends the functionality of a regular Dart map and notifies its listeners when the map is modified.
RxSetExt on Set<T>
A reactive container for managing a set of unique values of type T.
RxStringExt on String
A reactive container for holding a state of type T.
RxTExt on T
A reactive container for holding a state of type T.
SuperExt on SuperInterface
Enables access to functionality through Super

Properties

Super → SuperInterface
The global access point for the "Super" framework.
no setter

Functions

rxWatch(VoidCallback callback, {bool stopWhen()?}) → void
Executes a callback function while listening to changes in Rx objects and automatically stops listening when a specified condition is met.