FLUTTER ECOSYSTEM

chrisedg87/flutter_animated_check

Flutter के लिए एक एनीमेटेड चेक आइकन विजेट का कार्यान्वयन

flutter_animated_check प्रोजेक्ट कवर
Stars
7
Forks
5
अंतिम पुश (UTC)
11 अक्टू॰ 2021
प्रोजेक्ट स्थिति
सक्रिय
Chris Edgington GitHub avatar
भाषाएँDartKotlinSwiftObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

animated_check

pub package

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

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!