OnBuilderBindingObserver<T> constructor

OnBuilderBindingObserver<T>({
  1. Key? key,
  2. IObservable<T>? listenTo,
  3. required Widget builder(),
  4. SideEffects<T>? sideEffects,
  5. ShouldRebuild? shouldRebuild,
  6. void didChangeAppLifecycleState(
    1. BuildContext context,
    2. AppLifecycleState state
    )?,
  7. void didChangeLocales(
    1. BuildContext context,
    2. 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,
      );