OnBuilderBindingObserver<T> constructor
OnBuilderBindingObserver<T> ({
- Key? key,
- IObservable<
T> ? listenTo, - required Widget builder(),
- SideEffects<
T> ? sideEffects, - ShouldRebuild? shouldRebuild,
- void didChangeAppLifecycleState(
- BuildContext context,
- AppLifecycleState state
- void didChangeLocales(
- BuildContext context,
- List<
Locale> ? locale
Implementation
OnBuilderBindingObserver({
Key? key,
IObservable<T>? listenTo,
required Widget Function() builder,
// this.listenToMany,
SideEffects<T>? sideEffects,
ShouldRebuild? shouldRebuild,
this.didChangeAppLifecycleState,
this.didChangeLocales,
}) : super(
listenTo: listenTo ?? ReactiveModel.create(creator: () => null),
key: key,
builder: builder,
sideEffects: sideEffects,
shouldRebuild: shouldRebuild,
);