Obx constructor
const
Obx(
- WidgetCallback builder, {
- 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});