getPageBodyWidget method

  1. @protected
Widget getPageBodyWidget(
  1. BuildContext context
)

Implementation

@protected
Widget getPageBodyWidget(BuildContext context) {
  if (isLoading) {
    return getPageLoadingWidget(context);
  }

  if (error.isNotEmpty) {
    return getPageErrorWidget(context);
  }

  return getPageWidget(context);
}