MainTextField constructor
const
MainTextField({
- Key? key,
- String? hintText,
- Widget? suffixIcon,
- Widget? prefixIcon,
- bool? readOnly,
- bool? enabled,
- TextEditingController? controller,
- void onTap()?,
- String? validator()?,
- TextStyle? style,
- InputBorder? border,
- InputBorder? disabledBorder,
- InputBorder? enabledBorder,
- InputBorder? errorBorder,
- InputBorder? focusedBorder,
- InputBorder? focusedErrorBorder,
- TextStyle? hintStyle,
- bool? obscureText,
- EdgeInsetsGeometry? contentPadding,
- int? minLines = 1,
Implementation
const MainTextField(
{super.key,
this.hintText,
this.suffixIcon,
this.prefixIcon,
this.readOnly,
this.enabled,
this.controller,
this.onTap,
this.validator,
this.style,
this.border,
this.disabledBorder,
this.enabledBorder,
this.errorBorder,
this.focusedBorder,
this.focusedErrorBorder,
this.hintStyle,
this.obscureText,
this.contentPadding,
this.minLines = 1});