select<T> method

T select<T>(
  1. T selectFunc(), {
  2. bool filter()?,
})

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.

Implementation

T select<T>(T Function() selectFunc, {bool Function()? filter}) {
  return RxRoot._select<T>(this, selectFunc, filter: filter);
}