PinPlusKeyBoardPackage constructor
const
PinPlusKeyBoardPackage({
- Key? key,
- KeyboardButtonShape keyboardButtonShape = KeyboardButtonShape.defaultShape,
- InputShape inputShape = InputShape.defaultShape,
- double keyboardMaxWidth = 80,
- double keyboardVerticalSpacing = 8,
- required double spacing,
- Color? buttonFillColor,
- Color? buttonBorderColor,
- bool btnHasBorder = true,
- Color? btnTextColor,
- double? btnBorderThickness,
- double? btnElevation,
- Color? btnShadowColor,
- double? inputSize,
- bool isInputHidden = false,
- Color inputHiddenColor = Colors.black,
- double inputsMaxWidth = 70,
- required PinInputController pinInputController,
- required dynamic onSubmit(),
- Color? inputFillColor,
- Color? inputBorderColor,
- Color? inputTextColor,
- bool inputHasBorder = true,
- double? inputBorderThickness,
- double? inputElevation,
- Color? inputShadowColor,
- Color errorColor = Colors.red,
- double? keyboardFontSize,
- BorderRadius? inputBorderRadius,
Implementation
const PinPlusKeyBoardPackage(
{Key? key,
this.keyboardButtonShape = KeyboardButtonShape.defaultShape,
this.inputShape = InputShape.defaultShape,
this.keyboardMaxWidth = 80,
this.keyboardVerticalSpacing = 8,
required this.spacing,
this.buttonFillColor,
this.buttonBorderColor,
this.btnHasBorder = true,
this.btnTextColor,
this.btnBorderThickness,
this.btnElevation,
this.btnShadowColor,
this.inputSize,
this.isInputHidden = false,
this.inputHiddenColor = Colors.black,
this.inputsMaxWidth = 70,
required this.pinInputController,
required this.onSubmit,
this.inputFillColor,
this.inputBorderColor,
this.inputTextColor,
this.inputHasBorder = true,
this.inputBorderThickness,
this.inputElevation,
this.inputShadowColor,
this.errorColor = Colors.red,
this.keyboardFontSize,
this.inputBorderRadius})
: super(key: key);