SplashScreen constructor

SplashScreen(
  1. {@required Future widgetToNavigateAfterFuture,
  2. Color backgroundColor = Colors.white,
  3. double logoPercentageSize = 0.2,
  4. FractionalOffset logoFractionalOffset = const FractionalOffset(0.5, 0.2),
  5. bool enableProgressIndicator = true,
  6. double progressIndicatorPercentageSize = 0.06,
  7. Color progressIndicatorColor = Colors.white,
  8. FractionalOffset progressIndicatorFractionalOffset = const FractionalOffset(0.5, 0.8)}
)

Implementation

SplashScreen({
  @required this.widgetToNavigateAfterFuture,
  this.backgroundColor = Colors.white,
  this.logo,
  this.logoPercentageSize = 0.2,
  this.logoFractionalOffset = const FractionalOffset(0.5, 0.2),
  this.enableProgressIndicator = true,
  this.progressIndicatorPercentageSize = 0.06,
  this.progressIndicatorColor = Colors.white,
  this.progressIndicatorFractionalOffset = const FractionalOffset(0.5, 0.8),
});