ProjectHeroAction constructor

const ProjectHeroAction({
  1. required String label,
  2. required IconData icon,
  3. VoidCallback? onTap,
  4. ButtonType type = ButtonType.gray,
})

Creates a ProjectHeroAction.

Implementation

const ProjectHeroAction({
  required this.label,
  required this.icon,
  this.onTap,
  this.type = ButtonType.gray,
});