PIInput constructor

const PIInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. TextInputType? keyboardType,
  4. List<TextInputFormatter>? inputFormatters,
  5. double? borderWidth,
  6. Color? borderColor,
  7. int maxLines = 1,
  8. int minLines = 1,
  9. int? hintMaxLines = 1,
  10. bool autoFocus = false,
  11. int? maxLength,
  12. Color? borderFocusColor,
  13. String? placeholder,
  14. TextStyle? placeholderStyle,
  15. EdgeInsetsGeometry? contentPadding,
  16. TextStyle? textStyle,
  17. TextAlign? textAlign,
  18. Widget? suffix,
  19. Widget? prefix,
  20. TextInputAction? textInputAction,
  21. 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);