progress_indicator_button
간단한 버튼으로 진행률 표시기를 변환하고 표시할 수 있습니다.
진행률 표시기로 변환할 수 있는 버튼입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A simple button that gives you the possibility to transform into a circular one and shows a progress indicator.
Container(
width: 200,
height: 60,
child: ProgressButton(
borderRadius: BorderRadius.all(Radius.circular(8)),
strokeWidth: 2,
child: Text(
"Sample",
style: TextStyle(
color: Colors.white,
fontSize: 24,
),
),
onPressed: (AnimationController controller) {
if (controller.isCompleted) {
controller.reverse();
} else {
controller.forward();
}
},
),
),
Please check the sample folder for a simple implementation.
Please see the Changelog page to know what's recently changed.
Feel free to contribute to this project.
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a new feature, please send a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗