CoderTextField constructor
const
CoderTextField({
- Key? key,
- required TextEditingController controller,
- String? hint,
- IconData? prefixIcon,
- Widget? suffixIcon,
- bool obscureText = false,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - int? maxLines,
- bool enabled = true,
- EdgeInsetsGeometry? contentPadding,
Creates a CoderTextField with the given configuration.
The controller parameter is required.
Implementation
const CoderTextField({
super.key,
required this.controller,
this.hint,
this.prefixIcon,
this.suffixIcon,
this.obscureText = false,
this.keyboardType,
this.inputFormatters,
this.maxLines,
this.enabled = true,
this.contentPadding,
});