FlutterLoadingScreen constructor

const FlutterLoadingScreen({
  1. Key? key,
  2. required Function futureTask,
  3. required NextPageParam nextPageParam,
  4. Color? loaderColor,
  5. String? title,
  6. TextStyle? titleStyle,
  7. Image? image,
  8. Widget? titleWidget,
  9. Color? backgroundColor = Colors.white,
  10. TextStyle? styleTextUnderTheLoader = const TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold, color: Colors.black),
  11. String? loadingMessage,
})

Constructor for the LoadingScreen widget with all the required initializers

Implementation

const FlutterLoadingScreen({
  super.key,
  required this.futureTask,
  required this.nextPageParam,
  this.loaderColor,
  this.title,
  this.titleStyle,
  this.image,
  this.titleWidget,
  this.backgroundColor = Colors.white,
  this.styleTextUnderTheLoader = const TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold, color: Colors.black),
  this.loadingMessage,
});