fast_ui library

fast_ui

Classes

EnumPersistenceConverter<T extends Enum, I>
Converter between Enum and I
FastBuilder
A StatefulWidget that updates with it's observer
FastMaterialStateProperty<T>
Create a MaterialStateProperty using only a map of MaterialStates
FastNav
Contextless navigator
FastOverlays
Contextless overlays
FastRxPersistence
A fast_rx implementation of key/value store persistence
FastRxPersistenceInterface
Interface to get and set values from a key/value store
NestedNavigator
A simple nested navigator that is automatically registered with FastNav
PersistenceConverter<T, I>
Convert a value to/from a FastRxPersistenceInterface
Rx<T>
Base class for reactives
RxBool
A reactive bool
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
RxDateTime
A reactive DateTime
RxDouble
A reactive double
RxDuration
A reactive Duration
RxInt
A reactive int
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
RxPrimitive<T>
A reactive primitive
RxSet<E>
A reactive Set
RxString
A reactive String
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

Enums

RouteType
The type of route to generate

Mixins

RxCompositeMixin<T>
Mixin version of RxComposite for use on classes that already extend Rx

Extensions

FastLocale on BuildContext
Extension on BuildContext to read Locale information
FastMaterialColor on MaterialColor
Extension on MaterialColor
FastMaterialLocalizations on BuildContext
Extension on BuildContext to read MaterialLocalizations information
FastMediaQuery on BuildContext
Extension on BuildContext to read MediaQueryData information
FastNavigationExtension on BuildContext
Extension on BuildContext for navigation
FastTheme on BuildContext
Extension on BuildContext to read ThemeData information
FastWidgetsLocalizations on BuildContext
Extension on BuildContext to read WidgetsLocalizations information
RxBoolExtension on bool
Extension to allow creating reactive bools
RxCompositeListExtension on RxList<E>
Extension to allow creating composite RxLists
RxCompositeMapExtension on RxMap<K, V>
Extension to allow creating composite RxMaps
RxCompositeSetExtension on RxSet<E>
Extension to allow creating composite RxSets
RxDateTimeExtension on DateTime
Extension to allow creating reactive DateTimes
RxDoubleExtension on double
Extension to allow creating reactive doubles
RxDurationExtension on Duration
Extension to allow creating reactive Durations
RxIntExtension on int
Extension to allow creating reactive ints
RxListExtension on List<E>
Extension to allow creating reactive Lists
RxMapExtension on Map<K, V>
Extension to allow creating reactive Maps
RxPersistenceExtension on RxValue<T>
Extension on Rx to persist the value to a key/value store
RxSetExtension on Set<E>
Extension to allow creating reactive Sets
RxStringExtension on String
Extension to allow creating reactive Strings
RxValueExtension on T
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
RxNotifier = void Function(int id)
An rx notifier for an rx zone
RxRegistrar = void Function(Stream stream)
An rx registrar for an rx zone

Exceptions / Errors

FastNavException
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
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