flutter_custom_textfields 0.0.5 copy "flutter_custom_textfields: ^0.0.5" to clipboard
flutter_custom_textfields: ^0.0.5 copied to clipboard

A Flutter package with customizable text fields, regex validation, and OTP input support with leading/trailing icons.

🧩 Flutter Custom TextFields #

Pub Version License: MIT

A Flutter package that provides customizable text fields with built-in validation for common input types. Features include email, phone number, username, full name, OTP, password, and confirm password fields with configurable validation and UI options.

✨ Features #

  • πŸ“§ TextFields with leading icons for:

    • Email
    • Phone Number
    • Username
    • Full Name
    • OTP (4 digit)
    • Pin Code
  • πŸ”’ TextFields with both leading and trailing icons for:

    • Password
    • Confirm Password
  • πŸ”’ OTP Input with customizable length (4 digits)

  • βœ… Built-in Regex-based validation for all input types

  • 🧩 Easy integration and customization

πŸš€ Getting Started #

Add this to your pubspec.yaml:

dependencies: flutter_custom_textfields: ^0.0.4

πŸ› οΈ How to Use #

You can easily use pre-built custom text fields for various input types like:

Email Username Full Name OTP Phone Number Password Confirm Password Pin Code To see how these fields are implemented and how they can be reused in real-time applications, explore the Example folder β€” especially the FormExample class. It demonstrates practical usage and integration in a complete form setup.

πŸ“Έ Screenshots #

Here's how some of the custom text fields look in a sample form:

[Example of Flutter Custom TextFields in action] [Example of Flutter Custom TextFields in action] [Example of Flutter Custom TextFields in action]

0
likes
0
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package with customizable text fields, regex validation, and OTP input support with leading/trailing icons.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

camera, flutter, geocoding, geolocator, image, intl, latlong2, path_provider, permission_handler

More

Packages that depend on flutter_custom_textfields