RsTextFormField constructor
const
RsTextFormField({
- required TextEditingController controller,
- required String label,
- String? validator(
- String? value
- TextInputType? keyboardType,
- bool? enabled,
- TextStyle? textStyle,
- dynamic onChanged()?,
- dynamic onTapOutside()?,
- VoidCallback? onTap,
- String? hintText,
- TextStyle? hintTextStyle,
- List<
TextInputFormatter> ? inputFormatters, - int? minLines = 1,
- int? maxLines = 1,
- int? maxLength = 255,
- bool? obscureText = false,
- bool? readOnly = false,
- bool? alignLabelWithHint = true,
- bool? addEmailValidation = false,
- double? borderRadius = 20.0,
- double? contentPadding = 12.0,
- String? counterText = "",
- Key? key,
Implementation
const RsTextFormField({
required this.controller,
required this.label,
this.validator,
this.keyboardType,
this.enabled,
this.textStyle,
this.onChanged,
this.onTapOutside,
this.onTap,
this.hintText,
this.hintTextStyle,
this.inputFormatters,
this.minLines = 1,
this.maxLines = 1,
this.maxLength = 255,
this.obscureText = false,
this.readOnly = false,
this.alignLabelWithHint = true,
this.addEmailValidation = false,
this.borderRadius = 20.0,
this.contentPadding = 12.0,
this.counterText = "",
super.key,
});