CustomKeyBoard constructor
const
CustomKeyBoard({
- Key? key,
- required int maxLength,
- PinTheme pinTheme = const PinTheme.defaults(),
- Widget? specialKey,
- dynamic onChanged()?,
- dynamic specialKeyOnTap()?,
- dynamic onCompleted()?,
- required TextEditingController controller,
- 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);