Liquid Swipe는 위젯에 유체처럼 흐르는 스와이프 효과를 가능하게 하는 Flutter 패키지로, 부드러운 전환을 통해 사용자 상호작용을 향상시킵니다. 매력적인 온보딩 화면, 이미지 슬라이더 또는 동적 수평 스와이프가 필요한 모든 UI 제작에 적합합니다. 이 플러그인은 Android, iOS, Web, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 다양한 기기에서 일관된 동작을 보장합니다. `flutter pub add liquid_swipe`를 통해 최소한의 설정으로 개발자는 쉽게 효과를 앱에 통합할 수 있습니다. 소스 코드는 오픈소스이며 GitHub에 호스팅되어 있어 투명성과 커뮤니티 기여를 보장합니다.
사용 사례
온보딩 화면
이미지 슬라이더
인터랙티브 튜토리얼
스와이프 기반 탐색
동적 콘텐츠 캐러셀
주요 기능
부드러운 액체 전환 효과
크로스 플랫폼 지원
Flutter와의 간편한 통합
사용자 정의 가능한 스와이프 동작
오픈소스이며 지속적으로 유지 관리되고 있습니다
적합한 대상
애니메이션 UI를 찾는 개발자
인터랙티브 온보딩이 있는 앱
디자인 중심 모바일 애플리케이션
다중 플랫폼 Flutter 프로젝트
UI/UX 개선 열정가
고려 사항
저사양 기기에서 성능에 영향을 줄 수 있습니다
대규모 데이터 세트를 신중하게 처리해야 합니다
복잡한 제스처에 대한 사용자 정의가 제한됨
정적 콘텐츠에 적합하지 않습니다
경량 위젯과 함께 사용하는 것이 가장 좋습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
This repository contains the Liquid Swipe Flutter source code.
Liquid swipe is the revealing clipper to bring off amazing liquid like swipe to stacked Container/Widgets and inspired by Cuberto's liquid swipe and IntroViews.
Only Rules/Limitation to its Usage is, you can't use any method in Liquid Controller before build method is being called in which LiquidSwipe is initialized. So we have to use them after LiquidSwipe is Built
Properties
currentPage - Getter to get current Page. Default value is 0.
isUserGestureDisabled - If somehow you want to check if gestures are disabled or not. Default value is false;
Methods
animateToPage({required int page, int duration = 600})
Animate to mentioned page within given Duration Remember the duration here is the total duration in which it will animate though all pages not the single page.
jumpToPage({required int page})
Jump Directly to mentioned Page index but without Animation.
shouldDisableGestures({required bool disable})
Use this method to disable gestures during runtime, like on certain pages using OnPageChangeCallback.