Obx constructor

const Obx(
  1. WidgetCallback builder, {
  2. Key? key,
})

Constructs an Obx widget with the given builder.

The builder parameter is a callback function that returns the widget to be built based on the observed state.

Implementation

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