PageViewModel constructor

const PageViewModel({
  1. Color? pageColor,
  2. Widget pageBackground = const SizedBox(),
  3. String? iconImageAssetPath,
  4. Color bubbleBackgroundColor = const Color(0x88FFFFFF),
  5. Color? iconColor,
  6. Widget title = const SizedBox(),
  7. Widget body = const SizedBox(),
  8. Widget mainImage = const SizedBox(),
  9. Widget? bubble,
  10. TextStyle? textStyle,
  11. TextStyle titleTextStyle = const TextStyle(color: Colors.white, fontSize: 50.0),
  12. 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),
});