ComTextField constructor
const
ComTextField({
- Key? key,
- TextEditingController? controller,
- String? hintText,
- TextInputType? keyboardType,
- bool? obscureText = false,
- int? maxLines = 1,
- int? minLines = 1,
- ValueChanged<
String> ? onChanged, - dynamic onEditingComplete()?,
- Widget? prefix,
- Widget? suffix,
- bool readOnly = false,
- double? radius,
- VoidCallback? onTap,
- Color? color,
- EdgeInsets? padding,
- FocusNode? focusNode,
- bool? autoFocus = false,
- bool? expands = false,
Implementation
const ComTextField({
super.key,
this.controller,
this.hintText,
this.keyboardType,
this.obscureText = false,
this.maxLines = 1,
this.minLines = 1,
this.onChanged,
this.onEditingComplete,
this.prefix,
this.suffix,
this.readOnly = false,
this.radius,
this.onTap,
this.color,
this.padding,
this.focusNode,
this.autoFocus = false,
this.expands = false,
});