CommonTextFiled constructor

const CommonTextFiled({
  1. required TextEditingController controller,
  2. required String labelText,
  3. TextInputType inputType = TextInputType.text,
  4. int maxLength = TextField.noMaxLength,
  5. String prefixIcon = "",
  6. String suffixIcon = "",
  7. Key? key,
})

Implementation

const CommonTextFiled({
  required this.controller,
  required this.labelText,
  this.inputType = TextInputType.text,
  this.maxLength = TextField.noMaxLength,
  this.prefixIcon = "",
  this.suffixIcon = "",

  super.key
});