CustomKeyBoard constructor
const
CustomKeyBoard({
- Key? key,
- required Function onSubmit,
- required TextEditingController controller,
- int maxLength = 12,
- double hSize = 50.0,
- double wSize = 50.0,
- double buttonPadding = 2.0,
- double buttonRadius = 16.0,
- Color backgroundColor = Colors.grey,
- Color buttonColor = Colors.white,
- Color buttonTextColor = Colors.black,
- Color iconColor = Colors.black,
- double backgroundOpacity = 0.3,
- 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);