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

A clean architecture OTP service package for Flutter supporting multiple SMS providers.

Flex OTP #

A Flutter package built with Clean Architecture to handle OTP (One-Time Password) flows seamlessly.

Features #

  • Provider-agnostic design (Easily switch between Twilio, Firebase, etc.)
  • Clean Architecture (Domain, Data, and Core separation)
  • Easy to integrate and test.

Getting Started #

Add this to your pubspec.yaml:

dependencies:
  flex_otp: ^0.0.1


---

### 4. Final Hosting Commands

Now that the files are fixed, follow these steps in order:

1.  **Format your code:** (Pub.dev checks for this)
    ```bash
    dart format .
    ```
2.  **Analyze for errors:**
    ```bash
    flutter analyze
    ```
3.  **Dry Run:** (This will now pass because we fixed the LICENSE)
    ```bash
    flutter pub publish --dry-run
    ```
4.  **Publish for real:**
    ```bash
    flutter pub publish
    ```



### What happens next?
* Once you run the final command, it will give you a **Google login link**. 
* After you sign in, your package will be live at: `https://pub.flutter-io.cn/packages/flex_otp`
* Any developer in the world can now use your package by adding it to their `pubspec.yaml`.

**Would you like me to help you write a real HTTP implementation for the `sendOtp` method using a specific provider like Twilio?**  
0
likes
135
points
142
downloads

Publisher

unverified uploader

Weekly Downloads

A clean architecture OTP service package for Flutter supporting multiple SMS providers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

firebase_auth, firebase_core, flutter, http

More

Packages that depend on flex_otp