OnboardingConfig constructor

const OnboardingConfig({
  1. Color? scaffoldBackgroundColor,
  2. ScrollBehavior? scrollBehavior,
  3. TextStyle? titleStyle,
  4. TextStyle? subtitleStyle,
  5. TextStyle? termsStyle,
  6. Color? buttonColor,
  7. Color? buttonTextColor,
  8. double? buttonBorderRadius,
  9. Color? checkboxActiveColor,
  10. Color? checkboxCheckColor,
  11. double imageWidth = 200,
  12. double imageHeight = 200,
  13. BoxFit imageFit = BoxFit.contain,
  14. double imageBorderRadius = 12,
  15. Color? progressBarColor,
  16. Color? progressBarBackgroundColor,
  17. IconData? progressBarIcon,
  18. TextStyle? progressTextStyle,
})

Implementation

const OnboardingConfig({
  this.scaffoldBackgroundColor,
  this.scrollBehavior,
  this.titleStyle,
  this.subtitleStyle,
  this.termsStyle,
  this.buttonColor,
  this.buttonTextColor,
  this.buttonBorderRadius,
  this.checkboxActiveColor,
  this.checkboxCheckColor,
  this.imageWidth = 200,
  this.imageHeight = 200,
  this.imageFit = BoxFit.contain,
  this.imageBorderRadius = 12,
  this.progressBarColor,
  this.progressBarBackgroundColor,
  this.progressBarIcon,
  this.progressTextStyle,
});