current library
A simple yet powerful state management library for Flutter.
Classes
-
Current<
T extends CurrentViewModel> - Used to provide shared state and functions across specific scopes of your application, or the entire application itself.
-
CurrentApp<
T extends CurrentViewModel> - This widget is not intended to be created manually and is used by the Current widget.
- CurrentBoolProperty
- An CurrentProperty with similar characteristics as a an ordinary dart bool object
- CurrentDateTimeProperty
- An CurrentProperty with similar characteristics as a an ordinary dart DateTime object
- CurrentDoubleProperty
- An CurrentProperty with similar characteristics of dart double objects
- CurrentIntProperty
- An CurrentProperty with similar characteristics of dart int objects
-
CurrentListProperty<
T> - An CurrentProperty with similar characteristics as a dart List<T>
-
CurrentMapProperty<
K, V> - An CurrentProperty with similar characteristics as a dart Map<K, V>
- CurrentNullableBoolProperty
- An CurrentProperty with similar characteristics as a an ordinary dart bool object.
- CurrentNullableDateTimeProperty
- An CurrentProperty with similar characteristics as a an ordinary dart bool object.
- CurrentNullableDoubleProperty
- An CurrentProperty with similar characteristics of dart double objects
- CurrentNullableIntProperty
- An CurrentProperty with similar characteristics of dart int objects
- CurrentNullableStringProperty
- An CurrentProperty with similar characteristics as a dart String object
-
CurrentProperty<
T> - Contains any object that will notify any listeners when its value is changed.
-
CurrentState<
T extends CurrentWidget< CurrentViewModel> , E extends CurrentViewModel> - Base class for your CurrentWidgets accompanying State class.
-
CurrentStateChanged<
T> - The event that is added to the State stream.
- CurrentStringProperty
- An CurrentProperty with similar characteristics as a dart String object
-
CurrentValue<
T> - Base class for CurrentProperty
- CurrentViewModel
- A ViewModel is an abstraction of the view it is bound to and represents the current state of the data in your model.
-
CurrentWidget<
T extends CurrentViewModel> - Base class for any widget that needs to be updated when the state of your widget changes.
-
ErrorEvent<
T> - The event that is added to the Error stream.
Extensions
Functions
-
createNullProperty<
T> ({String? propertyName}) → CurrentProperty< T?> - Short hand helper function for initializing an CurrentProperty with a null value.
-
createProperty<
T> (T value, {String? propertyName}) → CurrentProperty< T> - Short hand helper function for initializing an CurrentProperty.