circular_countdown

A package that represents a circular countdown that you can use for every kind of units (days, hours, seconds, points, ...) that could be decremented.

Getting Started

The latest version is Pub.

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  circular_countdown: ^latest_version

In your library add the following import:

import  'package:circular_countdown/circular_countdown.dart';

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

Example

This is the way to create a simple static countdown.

import 'package:flutter/material.dart';
...
CircularCountdown(
	diameter:  250,
	countdownTotal:  10,
	countdownRemaining:  7,
)
...

By playing with the parameters, you can change the size, the colors, the size of the gaps and the strokeWidth.

Starting from this you can create animated countdown (see how in example). Overview

Contributions

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a new feature, please send a pull request.

Libraries

circular_countdown