EditText constructor
const
EditText({
- Key? key,
- double? fontSize,
- double? hintFontSize,
- Color? textColor,
- Color? hintTextColor,
- FontWeight? fontWeight,
- bool? enabled,
- bool? obscureText,
- String? labelText,
- TextEditingController? controller,
- TextAlignVertical? textAlignVertical,
- InputBorder? border,
- Color? cursorColor,
- TextInputType? keyboardType,
- EdgeInsetsGeometry? padding,
- ValueChanged<
String> ? onChanged, - Widget? suffixIcon,
- Size? suffixIconSize,
Implementation
const EditText({
super.key,
this.fontSize,
this.hintFontSize,
this.textColor,
this.hintTextColor,
this.fontWeight,
this.enabled,
this.obscureText,
this.labelText,
this.controller,
this.textAlignVertical,
this.border,
this.cursorColor,
this.keyboardType,
this.padding,
this.onChanged,
this.suffixIcon,
this.suffixIconSize,
});