ContextSelectionExtension extension

Propagates the changes of the RxNotifier placed in the body function in this widget.
To use this feature, you need to add RxRoot at the beginning of your application's Widget tree.

on

Methods

callback<T>(T selectFunc(), void effectFunc(T? value), {bool filter()?}) → void

Available on BuildContext, provided by the ContextSelectionExtension extension

Used to assign effect functions that will react to the reactivity of the declared rxNotifier, similar to the rxObserver function.
select<T>(T selectFunc(), {bool filter()?}) → T

Available on BuildContext, provided by the ContextSelectionExtension extension

Propagates the changes of the RxNotifier placed in the body function in this widget.
To use this feature, you need to add RxRoot at the beginning of your application's Widget tree.