Observer<T> constructor
Observer<T> (
- IObservable<
T> observable, - Widget? builder(
- T v
- Key? key,
Implementation
factory Observer(
IObservable<T> observable,
Widget? Function(T v) builder, {
Key? key,
}) {
return Observer.context(observable, (context, v) {
return builder(v);
}, key: key);
}