GridButton constructor

const GridButton({
  1. Key? key,
  2. required String title,
  3. required dynamic onTap(),
  4. required IconData icon,
  5. Color? iconColor,
  6. Color? imageColor,
})

Implementation

const GridButton({
  Key? key,
  required this.title,
  required this.onTap,
  required this.icon,
  this.iconColor,
  this.imageColor,
}) : super(key: key);