obxBase method

Widget obxBase(
  1. Widget widget(
    1. NsgBaseControllerData?
    ), {
  2. Widget onError(
    1. String? error
    )?,
  3. Widget? onLoading,
  4. Widget? onEmpty,
})

Implementation

Widget obxBase(Widget Function(NsgBaseControllerData?) widget, {Widget Function(String? error)? onError, Widget? onLoading, Widget? onEmpty}) {
  return obx(widget, onError: onError, onLoading: onLoading, onEmpty: onEmpty);
}