elementary_helper library
Classes
-
ContentEntityState<
T> - Entity that describes general state of data storing.
-
DoubleSourceBuilder<
F, S> - Builder that uses two ListenableState sources of data.
-
DoubleValueListenableBuilder<
F, S> - Builder that uses two ValueListenable sources of data.
-
EntityState<
T> - Describes the state of the stored value. It can be helpful when interacting with values over the network or other options involving long asynchronous operations.
-
EntityStateNotifier<
T> - Publisher that uses EntityState to describe concrete state of stored data.
-
EntityStateNotifierBuilder<
T> - A builder that uses ValueListenable parameterized by EntityState as a source of data. This builder is usually helpful with the EntityStateNotifier.
-
EntityValueListenable<
T> - Alias for EntityStateNotifier interface.
-
ErrorEntityState<
T> - Entity that describes state with data problems.
-
ListenableState<
T> - An interface for instances that can be listened and return current value.
-
LoadingEntityState<
T> - Entity that describes state of loading data or long interaction.
- MultiListenerRebuilder
- Builder that initiates a rebuild when any of the listeners in the listenableList changes.
-
StateNotifier<
T> - Publisher that can store a value. Whenever the value changes, all subscribers will be notified. When a listener is added, it also initiates a notification specifically for that listener.
-
StateNotifierBuilder<
T> - Builder that uses ListenableState as a source of data. Usually can be helpful with the StateNotifier.
- ThemeWrapper
- Wrapper for hiding direct call flutter theme.
-
TripleSourceBuilder<
F, S, T> - Builder that uses three ListenableState sources of data.
-
TripleValueListenableBuilder<
F, S, T> - Builder that uses three ValueListenable sources of data.
Typedefs
-
DataWidgetBuilder<
T> = Widget Function(BuildContext context, T? data) - Builder function for content state.
-
ErrorWidgetBuilder<
T> = Widget Function(BuildContext context, Exception? e, T? data) - Builder function for error state.
-
LoadingWidgetBuilder<
T> = Widget Function(BuildContext context, T? data) - Builder function for loading state.