v0.0.2+1checkmark
애니메이션 체크 마크. 색상, 곡선, 지속 시간 등을 맞춤설정하세요.
26좋아요 1030일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
애니메이션 체크 마크 위젯.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
An animated check mark widget. It automatically animates when you toggle it on/off. It can also be styled.
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,
})
}
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),
),
),
If you find any problems, please file an issue if one doesn't already exist.
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗