CurvedButton constructor

CurvedButton({
  1. Key? key,
  2. Color borderColor = Colors.black87,
  3. Color textColor = Colors.black26,
  4. double width = 60,
  5. double height = 40,
  6. double fontSize = 13.0,
  7. required String text,
  8. Color buttonColor = Colors.white38,
  9. required dynamic onPressed()?,
})

Implementation

CurvedButton(
    {super.key,
    this.borderColor = Colors.black87,
    this.textColor = Colors.black26,
    this.width = 60,
    this.height = 40,
    this.fontSize = 13.0,
    required this.text,
    this.buttonColor = Colors.white38,
    required this.onPressed});