Last updated:
0 purchases
animated check
animated_check #
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
copied to clipboard
Usage #
Import #
import 'package:animated_check/animated_check.dart';
copied to clipboard
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,
)
copied to clipboard
Contributions #
All contributions are welcome!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.