EFBTextField constructor

const EFBTextField({
  1. Key? key,
  2. String? name,
  3. TextEditingController? controler,
  4. bool dismissOnTapOutside = false,
  5. FocusNode? focus,
  6. Widget? suffix,
  7. Icon? prefixIcon,
  8. String? validator(
    1. String?
    )?,
  9. TextInputType? keyboardType,
  10. bool password = false,
  11. TextStyle? style,
  12. dynamic onSubmit(
    1. String?
    )?,
  13. dynamic onChange(
    1. String?
    )?,
  14. bool enable = true,
  15. String? initialValue,
  16. bool border = false,
  17. int maxLine = 1,
  18. GestureTapCallback? onTap,
  19. String? helperText,
})

Implementation

const EFBTextField(
    {super.key,
    this.name,
    this.controler,
    this.dismissOnTapOutside = false,
    this.focus,
    this.suffix,
    this.prefixIcon,
    this.validator,
    this.keyboardType,
    this.password = false,
    this.style,
    this.onSubmit,
    this.onChange,
    this.enable = true,
    this.initialValue,
    this.border = false,
    this.maxLine = 1,
    this.onTap,
    this.helperText});