StateExt<T> extension
Extension on StateMixin that provides a widget builder.
This extension adds the obx method which builds different widgets based on the current status.
- on
-
- StateMixin<
T>
- StateMixin<
Methods
-
obx(
NotifierBuilder< T> widget, {Widget onError(String? error)?, Widget? onLoading, Widget? onEmpty, WidgetBuilder? onCustom}) → Widget -
Available on StateMixin<
Builds a widget based on the current status.T> , provided by the StateExt extension