OnboardingPage constructor
OnboardingPage({
- Widget? image,
- required String title,
- required String description,
- Color backgroundColor = Colors.white,
- TextStyle? titleStyle,
- TextStyle? descriptionStyle,
- EdgeInsets contentPadding = const EdgeInsets.all(20.0),
- BoxDecoration? imageBoxDecoration,
- double? imageHeight,
- double? imageWidth,
- AlignmentGeometry imageAlignment = Alignment.center,
Implementation
OnboardingPage({
this.image,
required this.title,
required this.description,
this.backgroundColor = Colors.white,
this.titleStyle,
this.descriptionStyle,
this.contentPadding = const EdgeInsets.all(20.0),
this.footer,
this.imageBoxDecoration,
this.imageHeight,
this.imageWidth,
this.imageAlignment = Alignment.center,
});