Skip to content

Commit 80036d8

Browse files
committed
docs: update README features and architecture example with outlet routing and router_backend
1 parent bf13e7a commit 80036d8

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ See FletX in action across different platforms:
7979
|---------|--------|
8080
| **Reactive state** | Auto UI updates—no manual `page.update()` (`setState`) |
8181
| **Modular routing** | Deep linking, guards, middlewares, dynamic parameters |
82+
| **Nested outlet layouts** | Parent shell persists while children swap (requires Flet >= 0.85.0) |
83+
| **ft.Router integration** | Native platform transitions + `manage_views` via `router_backend="flet"` |
84+
| **Lifecycle-aware dialogs** | `alert()`, `confirm()`, `show_dialog()` with auto-close on unmount |
8285
| **Dependency injection** | Services & controllers managed elegantly |
8386
| **Clean architecture** | Scale from MVP to enterprise apps |
84-
| **Developer CLI** | 10x faster project setup & component generation |
87+
| **Developer CLI** | 10x faster project setup, component generation, **flet passthrough** |
8588
| **Type hints** | Full IDE support and runtime safety |
8689

8790
---

docs/getting-started/architecture.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,11 @@ router_config.add_routes([
354354
{"path": "/settings", "component": SettingsPage},
355355
])
356356

357-
app = FletXApp(title="MyApp")
357+
app = FletXApp(
358+
title="MyApp",
359+
router_backend="flet", # ft.Router backend (nested outlets, native transitions)
360+
# router_backend="fletx", # FletX native (default, all Flet versions)
361+
)
358362
```
359363

360364
**app/main.py — Entry point:**

0 commit comments

Comments
 (0)