OnboardingModel constructor

OnboardingModel({
  1. required String imageUrl,
  2. required String title,
  3. required String subTitle,
  4. Size? imageSize,
  5. BoxFit imageFit = BoxFit.contain,
  6. TextStyle titleTextStyle = const TextStyle(),
  7. TextStyle subTitleTextStyle = const TextStyle(),
  8. Color? backgroundColor,
})

Implementation

OnboardingModel({
  required this.imageUrl,
  required this.title,
  required this.subTitle,
  this.imageSize,
  this.imageFit = BoxFit.contain,
  this.titleTextStyle = const TextStyle(),
  this.subTitleTextStyle = const TextStyle(),
  this.backgroundColor,
});