DefaultFormField constructor
const
DefaultFormField({
- Key? key,
- required TextEditingController textEditingController,
- required TextInputType textInputType,
- required String hint,
- required String label,
- String? validator()?,
- bool? addDefaultBorder,
- BoxConstraints? constraints,
- int? numberOfLines,
- bool? disabled,
- Color? labelColor,
- IconData? prefixIcon,
- bool? obscureText,
- double? height,
- double? width,
- dynamic onChanged()?,
Implementation
const DefaultFormField({
Key? key,
required this.textEditingController,
required this.textInputType,
required this.hint,
required this.label,
this.validator,
this.addDefaultBorder,
this.constraints,
this.numberOfLines,
this.disabled,
this.labelColor,
this.prefixIcon,
this.obscureText,
this.height,
this.width,
this.onChanged,
}) : super(key: key);