handleBuilder method

  1. @protected
Widget handleBuilder(
  1. BuildContext context,
  2. StatusState state
)

Build animation loading of page

Implementation

@protected
Widget handleBuilder(BuildContext context, StatusState state) {
  return Stack(
    alignment: Alignment.center,
    children: <Widget>[
      RepaintBoundary(child: buildPage(context)),
      Visibility(
        visible: state.isLoading,
        child: CircularProgressIndicator(value: state.progress),
      ),
    ],
  );
}