Metadata-Version: 2.4
Name: fleetingviews
Version: 0.2
Summary: Facilitates view creation and management in Flet applications.
Home-page: https://github.com/ArellanoBrunoc/FleetingViews
Author: Bruno Arellano
Author-email: arellanobruno@hotmail.com
Maintainer: Bruno Arellano
Maintainer-email: arellanobruno@hotmail.com
License: MIT
Keywords: flet,views,flet views,view creation,flet app
Description-Content-Type: text/markdown
Requires-Dist: flet
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: requires-dist
Dynamic: summary

# 🌀 FleetingViews — View Management & Navigation for Flet

FleetingViews is a lightweight and powerful view management system for [Flet](https://flet.dev) apps.  
It helps you structure your app around clean views, guards, transitions, and reactive state — inspired by the best practices of modern frontend frameworks.

Think of it as a **router + state manager + lifecycle engine** for Flet.

---

## 🚀 Features at a Glance

✅ Easy view registration  
✅ Route-based navigation with history  
✅ Lifecycle hooks (`on_mount`, `on_dismount`)  
✅ Guards (protect views based on logic)  
✅ Reactive observables (`define_observable`, `subscribe`)  
✅ Two-way data binding with controls (`bind_to_control`)  
✅ Dynamic view transitions with animations  
✅ Built-in fallback 404 view  
✅ Shared global state (`set_shared`, `get_shared`)  
✅ JSON state persistence (coming soon)

---

## 📦 Installation

```bash
pip install fleetingviews
```

To upgrade:

```bash
pip install fleetingviews --upgrade
```

## 📹 Quick Start Tutorial (Video)

Watch this [YouTube tutorial](https://www.youtube.com/watch?v=eCoyLg9uHiY) for a hands-on guide:

    🔐 Protect views with guards

    🎛️ Configure AppBars dynamically

    🔁 Use view_go() to navigate

    🧠 Structure your app cleanly using FleetingViews



## 📄 Documentation
Full API and usage guide:
🔗 https://arellanobrunoc.github.io/FleetingViews/




    
