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? inputWidth,
- 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,
- double? inputHeight,
- Color? cancelColor,
- required String? keyboardFontFamily,
- String? extraInput,
- Icon? backButton,
- Icon? doneButton,
- InputType inputType = InputType.box,
- BorderRadius? keyoardBtnBorderRadius,
- TextStyle? inputTextStyle,
- Widget? leftExtraInputWidget,
- double? keyboardBtnSize,
- Color? focusColor,
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.inputWidth,
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,
this.inputHeight,
this.cancelColor,
required this.keyboardFontFamily,
this.extraInput,
this.backButton,
this.doneButton,
this.inputType = InputType.box,
this.keyoardBtnBorderRadius,
this.inputTextStyle,
this.leftExtraInputWidget,
this.keyboardBtnSize,
this.focusColor})
: super(key: key);