PIInput constructor
const
PIInput({
- Key? key,
- TextEditingController? controller,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - double? borderWidth,
- Color? borderColor,
- int maxLines = 1,
- int minLines = 1,
- int? hintMaxLines = 1,
- bool autoFocus = false,
- int? maxLength,
- Color? borderFocusColor,
- String? placeholder,
- TextStyle? placeholderStyle,
- EdgeInsetsGeometry? contentPadding,
- TextStyle? textStyle,
- TextAlign? textAlign,
- Widget? suffix,
- Widget? prefix,
- TextInputAction? textInputAction,
- Function? onSubmitted,
Implementation
const PIInput({
Key? key,
this.controller,
this.keyboardType,
this.inputFormatters,
this.borderWidth,
this.borderColor,
this.maxLines = 1,
this.minLines = 1,
this.hintMaxLines = 1,
this.autoFocus = false,
this.maxLength,
this.borderFocusColor,
this.placeholder,
this.placeholderStyle,
this.contentPadding,
this.textStyle,
this.textAlign,
this.suffix,
this.prefix,
this.textInputAction,
this.onSubmitted,
}) : super(key: key);