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

Methods

obx(NotifierBuilder<T> widget, {Widget onError(String? error)?, Widget? onLoading, Widget? onEmpty, WidgetBuilder? onCustom}) Widget

Available on StateMixin<T>, provided by the StateExt extension

Builds a widget based on the current status.