PolymorphicAtomObserver<T> constructor

const PolymorphicAtomObserver<T>({
  1. Key? key,
  2. Widget defaultBuilder(
    1. T? value
    )?,
  3. required ListenableAtom<T> atom,
  4. required List<TypedAtomHandler<T>> types,
})

It rebuilds according to mapped atom types

Implementation

const PolymorphicAtomObserver({
  super.key,
  this.defaultBuilder,
  required this.atom,
  required this.types,
});