AppTextField constructor

const AppTextField({
  1. Key? key,
  2. required String hint,
  3. TextEditingController? controller,
  4. bool password = false,
  5. String? error,
  6. bool enabled = true,
  7. String? svgIconPath,
  8. dynamic onChange(
    1. String value
    )?,
  9. Widget? trailingWidget,
  10. bool autoFocus = false,
  11. TextInputType? textInputType,
  12. bool web = false,
  13. int? maxLines,
  14. int? minLines,
})

Implementation

const AppTextField({
  super.key,
  required this.hint,
  this.controller,
  this.password = false,
  this.error,
  this.enabled = true,
  this.svgIconPath,
  this.onChange,
  this.trailingWidget,
  this.autoFocus = false,
  this.textInputType,
  this.web = false,
  this.maxLines,
  this.minLines,
});