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

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 #

_controller = AnimationController(vsync: this, duration: const Duration(seconds: 1));

Animation _animation = Tween<double>(begin: 0, end: 1)
  .animate(CurvedAnimation(
    parent: _animationController,
    curve: Curves.easeInOutCirc)
  );

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

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

AnimatedCheck(
  progress: _animation,
  size: 200,
)

Contributions #

All contributions are welcome!

32
likes
140
points
2.1k
downloads

Publisher

verified publisheredgington.dev

Weekly Downloads

A simple animated check icon widget for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on animated_check