CustomKeyBoard constructor

const CustomKeyBoard({
  1. Key? key,
  2. required int maxLength,
  3. PinTheme pinTheme = const PinTheme.defaults(),
  4. Widget? specialKey,
  5. dynamic onChanged(
    1. String
    )?,
  6. dynamic specialKeyOnTap()?,
  7. dynamic onCompleted(
    1. String
    )?,
  8. required TextEditingController controller,
  9. TextStyle? keysTextStyle = const TextStyle(fontSize: 22, fontWeight: FontWeight.bold),
})

Implementation

const CustomKeyBoard(
    {Key? key,
    required this.maxLength,
    this.pinTheme = const PinTheme.defaults(),
    this.specialKey,
    this.onChanged,
    this.specialKeyOnTap,
    this.onCompleted,
    required this.controller,
    this.keysTextStyle = const TextStyle(
      fontSize: 22,
      fontWeight: FontWeight.bold,
    )})
    : assert(maxLength > 0),
      super(key: key);