HeroProjectsBlock constructor
const
HeroProjectsBlock({
- Key? key,
- double? width,
- HeroProjectsBlockDevice device = HeroProjectsBlockDevice.auto,
- double breakpoint = 500.0,
- String title = 'Title -\nSubtitle',
- Widget? titleWidget,
- String? description = 'Description of the project',
- Widget? descriptionWidget,
- bool hasDescription = true,
- ImageProvider<
Object> ? logo, - String? logoUrl,
- String? logoAssetPath,
- Widget? logoWidget,
- bool hasLogo = true,
- List<
ProjectDetailItem> ? details, - bool hasDetails = true,
- bool hasNotice = true,
- String noticeText = 'Feedback Text',
- ToastStatus noticeStatus = ToastStatus.caution,
- Widget? noticeWidget,
- String techStackLabel = 'Built with',
- bool hasTechStack = true,
- List<
Widget> ? techLogos, - String availabilityLabel = 'Available on',
- bool hasAvailability = true,
- List<
ProjectHeroAction> ? actions, - Widget? actionsWidget,
Creates a HeroProjectsBlock instance.
Implementation
const HeroProjectsBlock({
super.key,
this.width,
this.device = HeroProjectsBlockDevice.auto,
this.breakpoint = 500.0,
this.title = 'Title -\nSubtitle',
this.titleWidget,
this.description = 'Description of the project',
this.descriptionWidget,
this.hasDescription = true,
this.logo,
this.logoUrl,
this.logoAssetPath,
this.logoWidget,
this.hasLogo = true,
this.details,
this.hasDetails = true,
this.hasNotice = true,
this.noticeText = 'Feedback Text',
this.noticeStatus = ToastStatus.caution,
this.noticeWidget,
this.techStackLabel = 'Built with',
this.hasTechStack = true,
this.techLogos,
this.availabilityLabel = 'Available on',
this.hasAvailability = true,
this.actions,
this.actionsWidget,
});