v1.0.5animated_check
Flutter के लिए एक सरल एनीमेटेड चेक आइकन विजेट
32लाइक 2.1 हज़ार30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
Flutter के लिए एक एनीमेटेड चेक आइकन विजेट का कार्यान्वयन
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
AnimatedCheck is a Flutter package with a simple implementation of an animated checkmark icon.
https://github.com/chrisedg87/flutter_animated_check/raw/main/screenshots/animated_check.gif
Add this to your pubspec.yaml:
dependencies:
animated_check: ^1.0.0
import 'package:animated_check/animated_check.dart';
_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,
)
All contributions are welcome!