CustomKeyBoard constructor

const CustomKeyBoard({
  1. Key? key,
  2. required Function onSubmit,
  3. required TextEditingController controller,
  4. int maxLength = 12,
  5. double hSize = 50.0,
  6. double wSize = 50.0,
  7. double buttonPadding = 2.0,
  8. double buttonRadius = 16.0,
  9. Color backgroundColor = Colors.grey,
  10. Color buttonColor = Colors.white,
  11. Color buttonTextColor = Colors.black,
  12. Color iconColor = Colors.black,
  13. double backgroundOpacity = 0.3,
  14. double textSize = 25,
})

Implementation

const CustomKeyBoard({
  Key? key,
  required this.onSubmit,
  required this.controller,
  this.maxLength = 12,
  this.hSize = 50.0,
  this.wSize = 50.0,
  this.buttonPadding = 2.0,
  this.buttonRadius = 16.0,
  this.backgroundColor = Colors.grey,
  this.buttonColor = Colors.white,
  this.buttonTextColor = Colors.black,
  this.iconColor = Colors.black,
  this.backgroundOpacity = 0.3,
  this.textSize = 25,
}) : super(key: key);