BiographyBlock constructor

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

Creates a BiographyBlock instance.

Implementation

const BiographyBlock({
  super.key,
  this.type = BiographyBlockType.tall,
  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,
});