DrawerBehavior는 슬라이딩 중에 콘텐츠 뷰의 높이를 이동하거나 확대/축소하는 등의 동적 시각 효과를 가능하게 하여 드로어 기능을 향상시키는 Flutter 패키지입니다. 네비게이션 중심 앱에서 사용자 경험을 개선하는 부드럽고 인터랙티브한 전환을 제공합니다. 드로어 상호작용에 더 많은 제어를 원하는 개발자를 위한 것으로, 표준 Drawer 위젯과 원활하게 통합됩니다. 이 라이브러리는 Android, iOS, Web, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 크로스플랫폼 애플리케이션에 유연하게 활용할 수 있습니다.
사용 사례
드로워 애니메이션 향상
몰입형 탐색 경험 만들기
UI 반응성 향상
드로어 상호작용 효과 맞춤 설정
현대적인 앱 인터페이스 구축
주요 기능
드로워 슬라이드 중 동적 뷰 이동
콘텐츠 뷰의 높이 스케일링
크로스 플랫폼 호환성
기존 서랍과의 간편한 통합
부드럽고 사용자 정의 가능한 전환 효과
적합한 대상
복잡한 탐색 패턴을 구축하는 개발자
디자인 중심의 플러터 앱
애니메이션 드로어 상호작용을 요구하는 앱
크로스 플랫폼 모바일 및 웹 프로젝트
UI/UX 개선 전문가
고려 사항
추가적인 성능 튜닝이 필요할 수 있습니다
사용 가능한 문서가 제한되어 있습니다
강한 드로어 사용이 필요한 앱에 가장 적합
다른 제스처 감지기와의 잠재적 충돌
제스처 및 애니메이션 원칙에 대한 이해가 필요합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Drawer Behavior - Flutter
Drawer Behavior is a Flutter library that provides advanced effects and behaviors for the side navigation drawer. Unlike the standard Flutter drawer, this package allows you to create immersive interactions such as moving the view, scaling the view's height, or adding 3D effects while the drawer slides.
✨ Features
Scale Effect: smoothly scales down the main content as the drawer opens.
3D Effect: Adds a rotation depth effect to the main content.
Multi-Directional: Supports both Left and Right side drawers.
Peek Drawer: Keep a portion of the drawer visible even when closed.
Customization: Full control over headers, footers, item builders, and animations.
Null-Safety: Fully supports Dart null-safety.
📦 Installation
Add this to your package's pubspec.yaml file:
dependencies:drawerbehavior:^3.0.0# Check pub.dev for the latest version