PageModel constructor

PageModel({
  1. Color? color,
  2. Color? titleColor,
  3. Color? bodyColor,
  4. required String? imageAssetPath,
  5. required String? title,
  6. required String? body,
  7. bool doAnimateImage = false,
})

Create page model with image in show in on-boarding widget

Implementation

PageModel(
    {this.color,
    this.titleColor,
    this.bodyColor,
    required this.imageAssetPath,
    required this.title,
    required this.body,
    this.doAnimateImage = false});