flutter_recoil library Null safety

Classes

Atom<T>
RecoilNotifier<T>
RecoilOptions<T>
RecoilProvider<T>
RecoilStateStore<T>
Manage and evaluate values of atoms and selectors
RecoilWidget
A Widget that can use Atom and Selector.
Selector<T>

Functions

useRecoilSelectorState<T>(Selector<T> selector) → T
Returns the value of Selector and subscribes the components to future updates of related Atom state.
useRecoilState<T>(Atom<T> atom) RecoilNotifier<T>
Returns a custom ValueNotifier of an Atom and subscribes the components to future updates of that state.

Typedefs

AtomEffect<T> = void Function(T onItemSet, ValueNotifier<T> setItemData)
GetAtomValue<T> = void Function(ValueNotifier<T> atomValue)
GetRecoilValue<T, H> = T Function(RecoilState<H> recoilState)
RecoilState<T> = T Function(RecoilOptions<T> atomOptions)