obx method
obx is a extension on BaseController
handles building a widget in response to new states
.
This is analogous to the builder
function in ObserverWidget
.
Implementation
Widget obx(NotifierBuilder<T> widget) => Obx(() => widget(rxState.value));