animated_check 1.0.3 copy "animated_check: ^1.0.3" to clipboard
animated_check: ^1.0.3 copied to clipboard

outdated

A simple animated check icon widget for Flutter

animated_check #

pub package

AnimatedCheck is a Flutter package with a simple implementation of an animated checkmark icon.

Installation #

Add this to your pubspec.yaml:

dependencies:
    animated_check: ^1.0.0

Usage #

Import #

import 'package:animated_check/animated_check.dart';

Simple Implementation #

AnimationController(vsync: this, duration: Duration(seconds: 1));
Animation _animation = new Tween<double>(begin: 0, end: 1)
  .animate(new CurvedAnimation(
    parent: _animationController, 
    curve: Curves.easeInOutCirc)
  );

void _showCheck() {
  _animation.forward();
}

void _resetCheck() {
  _animation.reverse();
}

AnimatedCheck(
  progress: _animation,
  size: 200,
)

Contributions #

All contributions are welcome!

32
likes
0
pub points
91%
popularity

Publisher

verified publisheredgington.dev

A simple animated check icon widget for Flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on animated_check