PageModel.withChild constructor

PageModel.withChild({
  1. required Widget? child,
  2. required Color? color,
  3. Color? titleColor,
  4. Color? bodyColor,
  5. bool doAnimateChild = false,
})

Create page model with custom child in show in on-boarding widget

Implementation

PageModel.withChild(
    {required this.child,
    required this.color,
    this.titleColor,
    this.bodyColor,
    this.doAnimateChild = false});