HeroProjectsBlock constructor

const HeroProjectsBlock({
  1. Key? key,
  2. double? width,
  3. HeroProjectsBlockDevice device = HeroProjectsBlockDevice.auto,
  4. double breakpoint = 500.0,
  5. String title = 'Title -\nSubtitle',
  6. Widget? titleWidget,
  7. String? description = 'Description of the project',
  8. Widget? descriptionWidget,
  9. bool hasDescription = true,
  10. String? logoUrl,
  11. String? logoAssetPath,
  12. Widget? logoWidget,
  13. List<ProjectDetailItem>? details,
  14. bool hasDetails = true,
  15. bool hasNotice = true,
  16. String noticeText = 'Feedback Text',
  17. ToastStatus noticeStatus = ToastStatus.caution,
  18. Widget? noticeWidget,
  19. String techStackLabel = 'Built with',
  20. bool hasTechStack = true,
  21. List<Widget>? techLogos,
  22. String availabilityLabel = 'Available on',
  23. bool hasAvailability = true,
  24. List<ProjectHeroAction>? actions,
  25. 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,
});