KNumPad constructor

const KNumPad({
  1. Key? key,
  2. double buttonSize = 70,
  3. Color buttonColor = Colors.indigo,
  4. Color iconColor = Colors.amber,
  5. int maxLength = 12,
  6. bool isNotPhoneNumber = false,
  7. required Function onSubmit,
  8. required TextEditingController controller,
})

Implementation

const KNumPad({
  Key? key,
  this.buttonSize = 70,
  this.buttonColor = Colors.indigo,
  this.iconColor = Colors.amber,
  this.maxLength = 12,
  this.isNotPhoneNumber = false,
  required this.onSubmit,
  required this.controller,
}) : super(key: key);