PinPlusKeyBoardPackage constructor

const PinPlusKeyBoardPackage({
  1. Key? key,
  2. KeyboardButtonShape keyboardButtonShape = KeyboardButtonShape.defaultShape,
  3. InputShape inputShape = InputShape.defaultShape,
  4. double keyboardMaxWidth = 80,
  5. double keyboardVerticalSpacing = 8,
  6. required double spacing,
  7. Color? buttonFillColor,
  8. Color? buttonBorderColor,
  9. bool btnHasBorder = true,
  10. Color? btnTextColor,
  11. double? btnBorderThickness,
  12. double? btnElevation,
  13. Color? btnShadowColor,
  14. double? inputWidth,
  15. bool isInputHidden = false,
  16. Color inputHiddenColor = Colors.black,
  17. double inputsMaxWidth = 70,
  18. required PinInputController pinInputController,
  19. required dynamic onSubmit(),
  20. Color? inputFillColor,
  21. Color? inputBorderColor,
  22. Color? inputTextColor,
  23. bool inputHasBorder = true,
  24. double? inputBorderThickness,
  25. double? inputElevation,
  26. Color? inputShadowColor,
  27. Color errorColor = Colors.red,
  28. double? keyboardFontSize,
  29. BorderRadius? inputBorderRadius,
  30. double? inputHeight,
  31. Color? cancelColor,
  32. required String? keyboardFontFamily,
  33. String? extraInput,
  34. Icon? backButton,
  35. Icon? doneButton,
  36. InputType inputType = InputType.box,
  37. BorderRadius? keyoardBtnBorderRadius,
  38. TextStyle? inputTextStyle,
  39. Widget? leftExtraInputWidget,
  40. double? keyboardBtnSize,
  41. 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);