RecoilNotifier<T> constructor

RecoilNotifier<T>(
  1. ValueNotifier<T> _valueNotifier,
  2. Atom<T> _atom,
  3. RecoilStateStore _stateStore
)

Custom Recoil Notifier which provides parameters for reading and manipulating the state of an Atom

  • data can be used in order to get the value of the Atom
  • setData can be used to change the value of the Atom

Implementation

RecoilNotifier(this._valueNotifier, this._atom, this._stateStore);