flutter_animated_timer_icon 0.0.3 copy "flutter_animated_timer_icon: ^0.0.3" to clipboard
flutter_animated_timer_icon: ^0.0.3 copied to clipboard

Flutter package of small icon timer that has a circular graph that shows the time consumed or remaining.

image

Flutter Animated Timer Icon #

A small widget that can be used as an icon to indicate the remaining time can be used as a suffix for a text field or a larger icon.

Usage #

To use the Animated Timer Icon, you first need to import it into your widget file:

import 'package:flutter_animated_timer_icon/flutter_animated_timer_icon.dart';

Once you have imported, you can use it as follows:

  final animateTimerController = AnimateTimerController();

   AnimateTimer(
        animateTimerController: animateTimerController,
        size: 200,
        color: Colors.blue,
        animationDuration: 10,
        animationBehaviorPreserve: true,
    )

you can control the animation using the controller.:

...
    onPressed: () {
        animateTimerController.restart();
    }
...                 
    onPressed: () {
        animateTimerController.start();
    }
...                           
    onPressed: () {
        animateTimerController.stop();
    }
...

3
likes
150
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package of small icon timer that has a circular graph that shows the time consumed or remaining.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_animated_timer_icon