PolymorphicAtomObserver<T> constructor
const
PolymorphicAtomObserver<T> ({
- Key? key,
- Widget defaultBuilder(
- T? value
- required ListenableAtom<
T> atom, - required List<
TypedAtomHandler< types,T> >
It rebuilds according to mapped atom types
Implementation
const PolymorphicAtomObserver({
super.key,
this.defaultBuilder,
required this.atom,
required this.types,
});