GdgButton constructor

const GdgButton({
  1. Key? key,
  2. required void onPressed()?,
  3. Widget? child,
  4. Widget? icon,
  5. GdgColor color = GdgColors.primary,
})

Implementation

const GdgButton({
  super.key,
  required this.onPressed,
  this.child,
  this.icon,
  this.color = GdgColors.primary,
}) : isLarge = false;