FLPinCodeTextField constructor

FLPinCodeTextField({
  1. Key? key,
  2. int pinLength = 6,
  3. TextEditingController? controller,
  4. FocusNode? focusNode,
  5. InputDecoration? decoration,
  6. TextStyle? textStyle,
  7. bool autofocus = false,
  8. bool obscure = false,
  9. ValueChanged<String>? onChanged,
  10. VoidCallback? onEditingComplete,
  11. ValueChanged<String>? onSubmitted,
  12. bool? enabled,
  13. double? boxWidth,
  14. double? boxHeight,
  15. double? minSpace,
})

Implementation

FLPinCodeTextField(
    {Key? key,
    this.pinLength = 6,
    this.controller,
    this.focusNode,
    this.decoration,
    this.textStyle,
    this.autofocus = false,
    this.obscure = false,
    this.onChanged,
    this.onEditingComplete,
    this.onSubmitted,
    this.enabled,
    this.boxWidth,
    this.boxHeight,
    this.minSpace})
    : assert(pinLength > 0),
      super(key: key);