You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,7 +26,7 @@ FletNavigator - Simple and fast navigator (router) for Flet (Python) that allows
25
26
Installation is quite easy: ```pip install flet_navigator```
26
27
27
28
> [!WARNING]
28
-
> ~FletNavigator is in active development phase + only one developer works on this project. Please, be patient and report all bugs.~
29
+
> FletNavigator's development has been stopped, which means that the library will stop receiving updates and may break. But you can still ask for help by pulling new issue and writing down your problem. But that doesn't mean you shouldn't use this library, it's still usable, even very usable.
29
30
30
31
> [!NOTE]
31
32
> Starting from `v2.7.5` FletNavigator is production-stable and almost completely ready to use. Any bug reports are very appreciated.
-`optimized_delay: float = 0.001` - Animation optimized delay (when a lot of controls on the page).
239
242
-`optimization_threshold: int = 5` - Optimization threshold (maximal amount of controls that force optimized delay using instead of simple delay).<br><br>
240
243
244
+
-`set_custom_animation(animation: Callable[[Control, float, float], None]) -> None` - Set custom out animation. See the example below.
241
245
-`animate_out(page: Page, page_widgets: list[Control]) -> None` - Play out animation. Basically shouldn't be called by user.
242
246
247
+
Custom animation example
248
+
```python
249
+
# Takes current control (widget), multiplication value, and calculated smoothness value.
Summary! Now you know difference between virtual and non-virtual navigator, how to use navigator, etc! Good luck, have fun! But remember that project isn't finished!<br><br>
424
+
Good luck and have fun using this library!
425
+
426
+
<ahref="https://github.com/xzripper/flet_navigator/pulls">Make your contribution.</a><br>
0 commit comments