Tkko/Flutter_dismissible_page
Dismiss any Flutter page in any direction with a drag or swipe. Works with nested scrollables and screen readers, and animates the page as it moves. Android, iOS, web, macOS, Windows and Linux.
🌀 DismissiblePage — Vuốt để đóng trang, không cần nút back
Widget Flutter cho phép vuốt bất kỳ hướng nào để đóng trang, kết hợp hoạt ảnh Hero mượt mà, lấy cảm hứng từ stories Facebook và Instagram.
DismissiblePage là một widget Flutter giúp bạn thay thế hoàn toàn nút back truyền thống và các transition đời thường. Chỉ cần vuốt, trang sẽ biến mất với hiệu ứng hoạt ảnh sinh động — mượt mà, tự nhiên và rất giống với trải nghiệm stories trên các nền tảng xã hội lớn.
✨ Điểm nổi bật
- Vuốt đóng mọi hướng: hỗ trợ vertical, horizontal, hoặc đa hướng tùy chỉnh.
- Tích hợp Hero animation: dùng cùng widget Hero để tạo chuyển tiếp mượt mà giữa các trang.
- Hỗ trợ nested ListView: hoạt động tốt ngay cả khi có danh sách cuộn lồng nhau.
- Tùy chỉnh hoạt ảnh: điều chỉnh scale, border radius, background, độ nhạy kéo, thời gian reverse và nhiều thuộc tính khác.
- Push transparent route: hỗ trợ extension method
pushTransparentRouteđể tránh nền đen khi chuyển trang. - Cấu hình linh hoạt: điều chỉnh
minScale,maxRadius,maxTransformValue,startingOpacity...
💡 Vì sao đáng chú ý
DismissiblePage không chỉ là cách thay thế nút back — nó mang lại trải nghiệm vuốt tắt trang mượt mà, hiện đại, giống hệt trong các ứng dụng mạng xã hội lớn. Kết hợp với Hero, nó tạo ra nhịp điệu giao diện sống động, giúp ứng dụng Flutter trông sang trọng và tự nhiên hơn. Phù hợp cho mọi dự án muốn nâng cấp trải nghiệm chuyển trang ngay từ thao tác vuốt.
#Flutter #DismissiblePage #HeroAnimation #SwipeGesture #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
Flutter 超完整的开源项目,功能丰富,适合学习和日常使用。GSYGithubApp 系列的优势:我们目前已经拥有 Flutter、Weex、ReactNative、Kotlin View、Kotlin Jetpack Compose ,Compose MultiPlatform,Harmony ArkUI 七个版本,功能齐全,项目框架内技术涉及面广,完成度高,持续维护,配套文章,适合全面学习,对比参考。
A predictable state management library that helps implement the BLoC design pattern
Easiest way to add support for light and dark theme in your flutter app.
A widget displaying children in a line until there is not enough space and showing a the number of children not rendered.
A Flutter package with a selection of simple yet very customizable set of loading animations.
Open source Flutter package, bar indicator made of a series of selected and unselected steps
React Native's Animated library reimplemented
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.