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? inputSize,
  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,
})

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);