BaseLoadingPage constructor

const BaseLoadingPage({
  1. Key? key,
  2. Widget home = const Scaffold(),
  3. void onPause()?,
  4. void onResume()?,
  5. Widget loadingBuilder(
    1. BuildContext context
    )?,
})

Implementation

const BaseLoadingPage({
  Key? key,
  // this.loading = const Scaffold(
  //   body: Center(
  //     child: CircularProgressIndicator(),
  //   ),
  // ),
  this.home = const Scaffold(),
  this.onPause,
  this.onResume,
  this.loadingBuilder,
  // this.loadingBuilder = (BuildContext context) => const Scaffold(
  //       body: Center(
  //         child: CircularProgressIndicator(),
  //       ),
  //     ),
}) : super(key: key);