fast_ui library Null safety
fast_ui
Classes
-
EnumConverter<
T extends Enum, I> -
Converter between Enum and
I
-
EnumIntConverter<
T extends Enum> - Converter between Enum and int
-
EnumStringConverter<
T extends Enum> - Converter between Enum and String
- FastBuilder
- A StatefulWidget that updates with it's observer
- Contextless navigator
- A NavigatorObserver that informs FastNav of navigation events
- FastOverlays
- Contextless overlays
- FastRxPersistence
- A fast_rx implementation of key/value store persistence
-
FastRxPersistenceConverter<
T, I> - Convert a value to/from a FastRxPersistenceInterface
- FastRxPersistenceInterface
- Interface to get and set values from a key/value store
-
InlineConverter<
T, I> - Conveniently create a FastRxPersistenceConverter inline
- A simple nested navigator that is automatically registered with FastNav
-
Rx<
T> - Base class for reactives
- RxComposite
- An Rx that is composed of other Rx objects and notifies when they do
-
RxCompositeList<
E extends Rx> - Composite version of RxList that notifies when elements do
-
RxCompositeMap<
K, V extends Rx> - Composite version of RxMap that notifies when elements do
-
RxCompositeSet<
E extends Rx> - Composite version of RxSet that notifies when elements do
-
RxList<
E> - A reactive list
-
RxMap<
K, V> - A reactive map
-
RxObject<
T> - An object that will properly emit updates when calling notify
- RxObserver
- Listen to multiple Rx streams
-
RxSet<
E> - A reactive set
-
RxValue<
T> - A reactive value
- RxZone
- Convenience class to get the RxRegistrar and RxNotifier of the current Zone if they exist
- SnackBarDuration
- SnackBar durations taken from https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/snackbar/SnackbarManager.java
Mixins
-
RxCompositeMixin<
T> - Mixin version of RxComposite for use on classes that already extend Rx
Extensions
- FastLocale
- Extension on BuildContext to read Locale information
- FastMaterialColor
- Extension on MaterialColor
- FastMaterialLocalizations
- Extension on BuildContext to read MaterialLocalizations information
- FastMediaQuery
- Extension on BuildContext to read MediaQueryData information
- FastTheme
- Extension on BuildContext to read ThemeData information
- RxCompositeListExtension
- Extension to allow creating composite RxLists
- RxCompositeMapExtension
- Extension to allow creating composite RxMaps
- RxCompositeSetExtension
- Extension to allow creating composite RxSets
- RxListExtension
- Extension to allow creating reactive lists
- RxMapExtension
- Extension to allow creating reactive maps
- RxPersistenceExtension
- Extension on Rx to persist the value to a key/value store
- RxSetExtension
- Extension to allow creating reactive sets
- RxValueExtension
- Extension to allow creating reactive values
Functions
-
runRxZoned<
R> (RxAction< R> action, {RxRegistrar? registrar, RxNotifier? notifier}) → R -
Run
action
in an rx zone
Typedefs
-
RxAction<
R> = R Function() - An rx action to run in an rx zone
-
RxBool
= RxValue<
bool> - A reactive bool
-
RxDouble
= RxValue<
double> - A reactive double
-
RxInt
= RxValue<
int> - A reactive int
- RxNotifier = void Function(int id)
- An rx notifier for an rx zone
- RxRegistrar = void Function(Stream stream)
- An rx registrar for an rx zone
-
RxString
= RxValue<
String> - A reactive string
Exceptions / Errors
- AnonymousRouteNotPatched
- Exception thrown when attempting to prevent duplicates for an anonymous page route without a name
- An exception thrown by FastNav
- FastOverlaysException
- An exception thrown by FastOverlays
- FastOverlaysNotInitialized
- Exception thrown when FastOverlays has not been initialized
- FastRxException
- An exception thrown by FastRx
- FastRxPersistenceException
- An exception thrown by FastRxPersistence
- FastRxPersistenceNotInitialized
- Exception thrown when FastRxPersistence has not been initialized
- Exception thrown when navigation methods are called for a navigator that has not been registered with FastNav
- Exception thrown when navigation history is required for a navigator that that has not registered an observer with FastNav
- RxObjectValueIsReadOnly
- Exception thrown when attempting to set RxObject.value
- RxObserverIsNotListenable
- Exception thrown when an RxObserver contains no registrable values
- RxRunActionWasAsync
- Exception thrown when attempting to call Rx.run with an async action