ObxValue<T extends RxInterface> constructor

const ObxValue<T extends RxInterface>(
  1. Widget builder(
    1. T
    ),
  2. T data, {
  3. Key? key,
})

Constructs an ObxValue widget with the given builder and data.

The builder is a callback function that takes the observed data and returns the widget to be built. The data is the observable data that the widget will react to.

Implementation

const ObxValue(this.builder, this.data, {super.key});