PageModel class
Constructors
-
PageModel({Color? color, Color? titleColor, Color? bodyColor, required String? imageAssetPath, required String? title, required String? body, bool doAnimateImage = false})
-
Create page model with image in show in on-boarding widget
-
PageModel.withChild({required Widget? child, required Color? color, Color? titleColor, Color? bodyColor, bool doAnimateChild = false})
-
Create page model with custom child in show in on-boarding widget
Properties
-
body
↔ String?
-
Body text of the page
getter/setter pair
-
bodyColor
↔ Color?
-
Change color of body text
getter/setter pair
-
child
↔ Widget?
-
Custom widget to pass as image in page
getter/setter pair
-
color
↔ Color?
-
Background color of the page
getter/setter pair
-
doAnimateChild
↔ bool
-
To enable/disable child animation
getter/setter pair
-
doAnimateImage
↔ bool
-
To enable/disable image animation
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
imageAssetPath
↔ String?
-
Image path from asset to show in page
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
title
↔ String?
-
Title text of the page
getter/setter pair
-
titleColor
↔ Color?
-
Change color of title text
getter/setter pair
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited