BiographyBlock.wide constructor

const BiographyBlock.wide({
  1. Key? key,
  2. BiographyBlockDevice device = BiographyBlockDevice.auto,
  3. String title = 'Title',
  4. Widget? titleWidget,
  5. bool hasSubtitle = true,
  6. String subtitle = 'Subtitle',
  7. Widget? subtitleWidget,
  8. bool hasDescription = true,
  9. String description = 'Description',
  10. Widget? descriptionWidget,
  11. Widget? logoWidget,
  12. String? logoAssetPath,
  13. VoidCallback? onLogoTap,
  14. bool hasBadgeBar = true,
  15. bool hasBadgeOne = false,
  16. String badge1Label = 'Label',
  17. bool hasBadgeTwo = true,
  18. String badge2Label = 'Label',
  19. bool hasBadgeThree = true,
  20. String badge3Label = 'Label',
  21. List<Widget>? badges,
})

Convenience constructor for a wide-layout BiographyBlock.

Implementation

const BiographyBlock.wide({
  super.key,
  this.device = BiographyBlockDevice.auto,
  this.title = 'Title',
  this.titleWidget,
  this.hasSubtitle = true,
  this.subtitle = 'Subtitle',
  this.subtitleWidget,
  this.hasDescription = true,
  this.description = 'Description',
  this.descriptionWidget,
  this.hasLogo = true,
  this.logo,
  this.logoWidget,
  this.logoAssetPath,
  this.onLogoTap,
  this.hasBadgeBar = true,
  this.hasBadgeOne = false,
  this.badge1Label = 'Label',
  this.hasBadgeTwo = true,
  this.badge2Label = 'Label',
  this.hasBadgeThree = true,
  this.badge3Label = 'Label',
  this.badges,
}) : type = BiographyBlockType.wide;