Skip to content

a countdown timer package for flutter

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

evanemran/flutter_timer_widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_timer_widget

This is a widget for showing countdown timer in flutter. This timer has all the basic operations needed for a timer.

Features

  • Simple Timer
  • Customize Colors & Fonts
  • Handle Events
  • Responsive Layout
  • Background Mode
  • Multiple Themes

Getting started

To use this widget there is not any special requirement. IF you have flutter installed you can directly start using this.

How to Use

Step 1:

Add this line to your dependencies:

flutter_timer: ^0.0.2
import 'package:flutter_timer/flutter_timer_widget.dart';
FlutterTimer(
  duration: const Duration(days: 2),
  onFinished: () {},
  timerController: TimerController(
    elevation: 4,
    margin: const EdgeInsets.all(4.0),
    padding: const EdgeInsets.all(8.0),
    background: Colors.orange,
    timerStyle: TimerStyle.Rectanular,
    timerTextStyle: const TextStyle(color: Colors.white, fontSize: 30),
    subTitleTextStyle: const TextStyle(color: Colors.white, fontSize: 12),
  ),
)

Conclusion

This is an initial release of the package. If you find any issue please let me know I will fix it accordingly.

About

a countdown timer package for flutter

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages