Skip to content

FleetingViews Logo

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

pip install fleetingviews

❓ 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.”

Repository