CalcButton constructor

const CalcButton({
  1. Key? key,
  2. required Color color,
  3. required Color textColor,
  4. required String buttonText,
  5. required void buttonTapped(),
  6. required double buttonRadius,
})

Implementation

const CalcButton(
    {Key? key,
      required this.color,
      required this.textColor,
      required this.buttonText,
      required this.buttonTapped,
      required this.buttonRadius});