Edittext2 constructor
const
Edittext2({
- Key? key,
- TextEditingController? controller,
- bool? readOnly,
- EdgeInsets? padding,
- EdgeInsets? margin,
- double? radius,
- Color? borderColor,
- Color? filledColor,
- String? hint,
- TextStyle? hintStyle,
- TextStyle? textStyle,
- TextInputType? inputType,
- int noOfLines = 1,
- Widget? prefixIcon,
- TextAlign? textAlign,
- int? maxLength,
- dynamic onChange()?,
- FocusNode? node,
- Widget? suffixIcon,
- bool obscureText = false,
- String? validator()?,
Implementation
const Edittext2({
super.key,
this.controller,
this.readOnly,
this.padding,
this.margin,
this.radius,
this.borderColor,
this.filledColor,
this.hint,
this.hintStyle,
this.textStyle,
this.inputType,
this.noOfLines = 1,
this.prefixIcon,
this.textAlign,
this.maxLength,
this.onChange,
this.node,
this.suffixIcon,
this.obscureText = false,
this.validator,
});