Welcome to FleetingViews π
FleetingViews is a lightweight but powerful utility class that simplifies view management in Flet applications.
Inspired by modern frontend routing systems, FleetingViews provides tools to create, switch, animate, and control views with easeβno boilerplate, no fuss.
β¨ Features (v0.1.8)
- π Easy view declaration and dynamic navigation
- π§ Built-in navigation history with
go_back()
- π§± Add controls dynamically from views
- π Animated transitions between views
- π§© Lifecycle hooks (
on_mount
,on_dismount
,on_view_change
) - π‘οΈ Guard functions to protect certain views
- π§ Support for drawers, FABs, AppBars.
- π§© Easy to modularize view definitions and logic
- π Easily pass and handle query parameters in views with FleetingViews
- π Seamlessly share data across views and components with FleetingViews
π¦ Installation
β Why FleetingViews?
Managing multiple views in a Flet app can quickly get messy.
FleetingViews helps you:
- π§Ή Organize your views declaratively
- π Handle transitions and user navigation easily
- π§ Inject custom behavior with guards and hooks
- π§βπ» Focus on your app logic, not view plumbing
βWith FleetingViews, you think about what your app does not how to juggle UI blocks.β