get_state_manager/src/rx_flutter/rx_obx_widget library
Classes
- Obx
- The simplest reactive widget in GetX.
-
ObxValue<
T extends RxInterface> - Similar to Obx, but manages a local state. Pass the initial data in constructor. Useful for simple local states, like toggles, visibility, themes, button states, etc. Sample: ObxValue((data) => Switch( value: data.value, onChanged: (flag) => data.value = flag, ), false.obs, ),
- ObxWidget
- The ObxWidget is the base for all GetX reactive widgets
Typedefs
- WidgetCallback = Widget Function()