FLUTTER ECOSYSTEM

sourcemain/checkmark

एनिमेटेड चेक मार्क विजेट।

चेकमार्क प्रोजेक्ट कवर
Stars
1
Forks
0
अंतिम पुश (UTC)
9 जन॰ 2022
प्रोजेक्ट स्थिति
सक्रिय
Eliot Lew GitHub avatar
GITHUB User

Eliot Lew ↗

@axichat
भाषाएँDart

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

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

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

मूल README

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

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

An animated check mark widget. It automatically animates when you toggle it on/off. It can also be styled.

Appearance

https://media.giphy.com/media/stjy5VIfjE8NEIuW4Q/giphy.gif

Parameters

class CheckMark extends ImplicitlyAnimatedWidget {
  const CheckMark({
    Key? key,
    Duration duration = const Duration(milliseconds: 300),
    Curve curve = Curves.linear,
    VoidCallback? onEnd,
    this.active = false,
    this.activeColor = const Color(0xff4fffad),
    this.inactiveColor = const Color(0xffe3e8ed),
    this.strokeWidth = 5,
    this.strokeJoin = StrokeJoin.round,
    this.strokeCap = StrokeCap.round,
  })
}

Usage

Check the /example folder for an example of the above functionality.

Minimal example:

SizedBox(
  height: 50,
  width: 50,
  child: CheckMark(
    active: checked,
    curve: Curves.decelerate,
    duration: const Duration(milliseconds: 500),
  ),
),

Additional information

If you find any problems, please file an issue if one doesn't already exist.