DiamondButton constructor

const DiamondButton({
  1. Key? key,
  2. required String text,
  3. void onPressed()?,
  4. Color? color,
})

Implementation

const DiamondButton({
  super.key,
  required this.text,
  this.onPressed,
  this.color,
});