EditText constructor

const EditText({
  1. Key? key,
  2. double? fontSize,
  3. double? hintFontSize,
  4. Color? textColor,
  5. Color? hintTextColor,
  6. FontWeight? fontWeight,
  7. bool? enabled,
  8. bool? obscureText,
  9. String? labelText,
  10. TextEditingController? controller,
  11. TextAlignVertical? textAlignVertical,
  12. InputBorder? border,
  13. Color? cursorColor,
  14. TextInputType? keyboardType,
  15. EdgeInsetsGeometry? padding,
  16. ValueChanged<String>? onChanged,
  17. Widget? suffixIcon,
  18. 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,
});