CustomTextFormField constructor

const CustomTextFormField({
  1. Key? key,
  2. TextEditingCController? controller,
  3. bool readonly = false,
  4. bool darkMode = false,
  5. bool obscureText = false,
  6. String? initValue,
  7. String? label,
  8. void onSubmit(
    1. TextEditingCController txt
    )?,
  9. bool scannable = false,
  10. IconData? suffixIcon,
  11. void onSuffixIconTab(
    1. TextEditingCController txt
    )?,
  12. void onSuffixIconLogTab(
    1. TextEditingCController txt
    )?,
  13. TextInputType? keyboardType,
  14. void onSaved(
    1. String? value
    )?,
  15. bool required = false,
  16. String? validator(
    1. String value
    )?,
  17. bool multiLine = false,
  18. dynamic onChanged(
    1. String value
    )?,
})

Implementation

const CustomTextFormField({
  super.key,
  this.controller,
  this.readonly = false,
  this.darkMode = false,
  this.obscureText = false,
  this.initValue,
  this.label,
  this.onSubmit,
  this.scannable = false,
  this.suffixIcon,
  this.onSuffixIconTab,
  this.onSuffixIconLogTab,
  this.keyboardType,
  this.onSaved,
  this.required = false,
  this.validator,
  this.multiLine = false,
  this.onChanged,
});