Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rshrc/flutter_otp_timer
Flutter OTP Timer Widget
https://github.com/rshrc/flutter_otp_timer
flutter package
Last synced: 26 days ago
JSON representation
Flutter OTP Timer Widget
- Host: GitHub
- URL: https://github.com/rshrc/flutter_otp_timer
- Owner: rshrc
- License: mit
- Created: 2020-05-11T20:49:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T21:40:45.000Z (over 4 years ago)
- Last Synced: 2024-08-22T23:58:59.630Z (3 months ago)
- Topics: flutter, package
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_otp_timer
- Size: 9.77 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_otp_timer
Get easy otp timer in your app
# Usage
Import `package:flutter_otp_timer/flutter_otp_timer`
Example:
```dart
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](https://pub.dev/packages/otp_count_down).
## Getting Started
For help getting started with Flutter, view our online
[documentation](http://flutter.io/).For help on editing plugin code, view the [documentation](https://flutter.io/platform-plugins/#edit-code).