Flutter 3.10 이후 문제를 수정하기 위해 https://pub.dev/packages/liquid_progress_indicator를 기반으로 합니다. Flutter에서 물과 같은 효과를 가진 진행률 표시기로, Flutter 자체의 ProgressIndicator와 유사하게 작동합니다.
원래의 liquid_progress_indicator를 영감으로 삼아 물처럼 흐르는 애니메이션 진행률 표시기를 제공하는 플러터 패키지입니다. 플러터 내장 ProgressIndicator와 유사한 유체적이고 역동적인 효과로 시각적 매력을 높였습니다. 안드로이드, iOS, 웹, 맥OS, 윈도우, 리눅스 등 주요 모든 플랫폼에서 원활하게 작동하도록 설계되었으며, 플러터 3.10 이후에 발생한 호환성 문제를 특별히 해결했습니다. 현대적인 UI에서 매력적인 로딩 피드백이 필요한 경우에 이상적입니다.
사용 사례
로딩 화면
양식 제출 표시기
백그라운드 작업 추적
인터랙티브 앱 온보딩
실시간 데이터 업데이트
주요 기능
유체처럼 물과 같은 애니메이션
크로스 플랫폼 호환성
Flutter 3.10+ 수정
사용자 지정 가능한 색상 및 크기
모든 플랫폼에서의 부드러운 성능
적합한 대상
시각적으로 매력적인 로더를 찾는 개발자
현대적인 UI 디자인을 가진 앱
다중 플랫폼 Flutter 프로젝트
사용자 경험 중심 애플리케이션
고려 사항
저사양 기기에서 성능에 영향을 줄 수 있습니다
가독성을 위해 신중한 색상 대비가 필요합니다
미니멀리즘 디자인에 적합하지 않습니다
기본 스타일링을 초과한 사용자 정의는 제한적입니다
플랫폼 렌더링 기능에 따라 다름
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
liquid_progress_indicator V2
Liquid progress indicator for Flutter.
This version fix the original package Liquid progress indicator issues after upgrading to flutter 3.10 which was making it incompatible.
Features
Liquid circular progress indicator.
Liquid linear progress indicator.
Liquid custom progress indicator.
Works similarly to Flutters own ProgressIndicator.
LiquidCircularProgressIndicator(
value: 0.25, // Defaults to 0.5.
valueColor: AlwaysStoppedAnimation(Colors.pink), // Defaults to the current Theme's accentColor.
backgroundColor: Colors.white, // Defaults to the current Theme's backgroundColor.
borderColor: Colors.red,
borderWidth: 5.0,
direction: Axis.horizontal, // The direction the liquid moves (Axis.vertical = bottom to top, Axis.horizontal = left to right). Defaults to Axis.vertical.
center: Text("Loading..."),
);
LiquidLinearProgressIndicator
LiquidLinearProgressIndicator(
value: 0.25, // Defaults to 0.5.
valueColor: AlwaysStoppedAnimation(Colors.pink), // Defaults to the current Theme's accentColor.
backgroundColor: Colors.white, // Defaults to the current Theme's backgroundColor.
borderColor: Colors.red,
borderWidth: 5.0,
borderRadius: 12.0,
direction: Axis.vertical, // The direction the liquid moves (Axis.vertical = bottom to top, Axis.horizontal = left to right). Defaults to Axis.horizontal.
center: Text("Loading..."),
);
LiquidCustomProgressIndicator
LiquidCustomProgressIndicator(
value: 0.2 // Defaults to 0.5.
valueColor: AlwaysStoppedAnimation(Colors.pink), // Defaults to the current Theme's accentColor.
backgroundColor: Colors.white, // Defaults to the current Theme's backgroundColor.
direction: Axis.vertical, // The direction the liquid moves (Axis.vertical = bottom to top, Axis.horizontal = left to right).
shapePath: _buildBoatPath(), // A Path object used to draw the shape of the progress indicator. The size of the progress indicator is created from the bounds of this path.
)
This version has been fixed to work on FENLES APP. However can be freely used as it contains only the fix for newer flutter versions