RTextField constructor

RTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. InputDecoration? decoration,
  4. TextInputType? keyboardType,
  5. TextCapitalization? textCapitalization,
  6. TextInputAction? textInputAction,
  7. TextStyle? style,
  8. TextAlign textAlign = TextAlign.start,
  9. bool autofocus = false,
  10. bool readOnly = false,
  11. bool? enabled,
  12. bool obscureText = false,
  13. int? maxLines = 1,
  14. int? maxLength,
  15. ValueChanged<String>? onChanged,
  16. ValueChanged<String>? onSubmitted,
  17. List<TextInputFormatter>? inputFormatters,
  18. GestureTapCallback? onTap,
})

Implementation

RTextField({
  Key? key,
  this.controller,
  this.decoration,
  this.keyboardType,
  this.textCapitalization,
  this.textInputAction,
  this.style,
  this.textAlign = TextAlign.start,
  this.autofocus = false,
  this.readOnly = false,
  this.enabled,
  this.obscureText = false,
  this.maxLines = 1,
  this.maxLength,
  this.onChanged,
  this.onSubmitted,
  this.inputFormatters,
  this.onTap,
}) : super(key: key);