CustomTextFormField constructor
const
CustomTextFormField({
- Key? key,
- Alignment? alignment,
- double? width,
- EdgeInsetsGeometry? margin,
- TextEditingController? controller,
- FocusNode? focusNode,
- bool? autofocus = false,
- TextStyle? textStyle,
- bool? obscureText = false,
- TextInputAction? textInputAction = TextInputAction.next,
- TextInputType? textInputType = TextInputType.text,
- int? minLines,
- int? maxLines,
- String? hintText,
- TextStyle? hintStyle,
- Widget? prefix,
- BoxConstraints? prefixConstraints,
- Widget? suffix,
- BoxConstraints? suffixConstraints,
- EdgeInsets? contentPadding,
- InputBorder? borderDecoration,
- Color? fillColor,
- bool? filled = true,
- FormFieldValidator<
String> ? validator, - dynamic onChanged()?,
- String? initialValue,
Implementation
const CustomTextFormField(
{super.key,
this.alignment,
this.width,
this.margin,
this.controller,
this.focusNode,
this.autofocus = false,
this.textStyle,
this.obscureText = false,
this.textInputAction = TextInputAction.next,
this.textInputType = TextInputType.text,
this.minLines,
this.maxLines,
this.hintText,
this.hintStyle,
this.prefix,
this.prefixConstraints,
this.suffix,
this.suffixConstraints,
this.contentPadding,
this.borderDecoration,
this.fillColor,
this.filled = true,
this.validator,
this.onChanged,
this.initialValue});