ui library
Classes
- BuilderRef
- A interface that must be implemented in the ConsumerWidget
- Consumer
- A widget to listen the events in a SimpleNotifier or StateNotifier
-
ConsumerState<
T extends ConsumerStatefulWidget> - A State that has access to a BuilderRef through ref, allowing it to read providers.
- ConsumerStatefulElement
- ConsumerStatefulWidget
- A StatefulWidget that can read providers.
- ConsumerWidget
- A base-class for widgets that wants to listen to providers
- this class has the navigator state and the transition configuration
- this class is used to listen the changed in the stack route
- MultiProviderListener
- this class allows you listen the changes in multiples providers
-
MultiProviderListenerItem<
Notifier extends BaseNotifier> - this class is used to define onChange callback for one Notifier
- Navigator 1.0 to use push, pushReplacement, pushAndRemoveUntil and all pop methods
- PageWithArguments
- A simple Widget with a callback useful to set arguments for one SimpleProvider or a StateProvider
- PageWithArgumentsWidget
- uses this class to create a page and define the arguments for a SimpleProvider or a StateProvider
-
ProviderListener<
T extends BaseNotifier> - A widget to listen events in a SimpleProvider or a StateProvider
- RxBuilder
- A widget to be used with Observables (instances of Rx)
-
Target<
Notifier, Result> - class to save a Notifier, the listener and the rebuild function
Enums
- Filter
- enum used to identifier filters used in a provider
- Transition
- all posible transition animation for the router module
Mixins
-
AfterFirstLayoutMixin<
T extends StatefulWidget> - Add with AfterLayoutMixin
Extensions
- ContextExtensionss on BuildContext
- BuildContext extension with some ui utils methods and getters
- BuildContext extension to get an instance of Navigator1
-
SimpleProviderExt
on SimpleProvider<
Notifier> - extension for SimpleProvider
-
StateProviderExt
on StateProvider<
Notifier, S> - extension for StateProvider
Properties
- router → ContextlessNavigator
-
no setter
Functions
-
createSimpleSelectListener(
Target target) → void - create the listener for provider.select filter (SimpleProvider)
-
createStateSelectListener(
Target target) → void - create the listener for provider.select filter (StateProvider)
-
createWhenListener(
Target target) → void - create the listener for provider.when filter
Typedefs
- ConsumerBuilder = Widget Function(BuildContext context, BuilderRef ref, Widget? child)
- A function that can also listen to providers