NucleusBuildContextExt extension

on

Methods

getAtom<A>(Atom<A> atom) → A
Read an atom once
refreshAtom(RefreshableAtom atom) → void
Refresh an atom.
registry({dynamic listen = true}) AtomRegistry
setAtom<A>(WritableAtom<dynamic, A> atom) → void Function(A value)
Create a setter function for an atom.
updateAtom<R, W>(WritableAtom<R, W> atom) → void Function(W (R value))
Create an updater function for an atom.