BiographyBlock.wide constructor
const
BiographyBlock.wide({
- Key? key,
- BiographyBlockDevice device = BiographyBlockDevice.auto,
- String title = 'Title',
- Widget? titleWidget,
- bool hasSubtitle = true,
- String subtitle = 'Subtitle',
- Widget? subtitleWidget,
- bool hasDescription = true,
- String description = 'Description',
- Widget? descriptionWidget,
- bool hasLogo = true,
- ImageProvider<
Object> ? logo, - Widget? logoWidget,
- String? logoAssetPath,
- VoidCallback? onLogoTap,
- bool hasBadgeBar = true,
- bool hasBadgeOne = false,
- String badge1Label = 'Label',
- bool hasBadgeTwo = true,
- String badge2Label = 'Label',
- bool hasBadgeThree = true,
- String badge3Label = 'Label',
- 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;