Edittext2 constructor

const Edittext2({
  1. Key? key,
  2. TextEditingController? controller,
  3. bool? readOnly,
  4. EdgeInsets? padding,
  5. EdgeInsets? margin,
  6. double? radius,
  7. Color? borderColor,
  8. Color? filledColor,
  9. String? hint,
  10. TextStyle? hintStyle,
  11. TextStyle? textStyle,
  12. TextInputType? inputType,
  13. int noOfLines = 1,
  14. Widget? prefixIcon,
  15. TextAlign? textAlign,
  16. int? maxLength,
  17. dynamic onChange(
    1. String
    )?,
  18. FocusNode? node,
  19. Widget? suffixIcon,
  20. bool obscureText = false,
  21. String? validator(
    1. String?
    )?,
})

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,
});