PageViewModel constructor
const
PageViewModel({
- Color? pageColor,
- Widget pageBackground = const SizedBox(),
- String? iconImageAssetPath,
- Color bubbleBackgroundColor = const Color(0x88FFFFFF),
- Color? iconColor,
- Widget title = const SizedBox(),
- Widget body = const SizedBox(),
- Widget mainImage = const SizedBox(),
- Widget? bubble,
- TextStyle? textStyle,
- TextStyle titleTextStyle = const TextStyle(color: Colors.white, fontSize: 50.0),
- TextStyle bodyTextStyle = const TextStyle(color: Colors.white, fontSize: 24.0),
Implementation
const PageViewModel({
this.pageColor,
this.pageBackground = const SizedBox(),
this.iconImageAssetPath,
this.bubbleBackgroundColor = const Color(0x88FFFFFF),
this.iconColor,
this.title = const SizedBox(),
this.body = const SizedBox(),
this.mainImage = const SizedBox(),
this.bubble,
this.textStyle,
this.titleTextStyle = const TextStyle(color: Colors.white, fontSize: 50.0),
this.bodyTextStyle = const TextStyle(color: Colors.white, fontSize: 24.0),
});