flutter_otp_timer 0.9.7

Flutter Android iOS web

Flutter OTP Timer for keeping track of how much time is left for a message to arrive.

flutter_otp_timer #

Get easy otp timer in your app

Usage #

Import package:flutter_otp_timer/flutter_otp_timer

Example:

import 'package:flutter/material.dart';
import 'package:flutter_otp_timer/flutter_otp_timer.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Otp Timer"),
        centerTitle: true,
      ),
      body: Center(
        child: OtpTimer(
          duration: 60, // time till which the timer should animate
          radius: 10, // size of the circle
          timeTextSize: 16, // time text inside the circle
        ),
      ),
    );
  }
}


You will find links to the API docs on the pub page.

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

5
likes
95
pub points
71%
popularity

Flutter OTP Timer for keeping track of how much time is left for a message to arrive.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

rishieric91@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_otp_timer