Skip to content

xzripper/flet_navigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚓ FletNavigator V3

FletNavigator is a thorough navigation/routing module for the Flet framework that combines speed, simplicity, and efficiency. Features like cross-page arguments, URL parameters, templates, external routes, utilities & decorators, and more are present in FletNavigator! Install it and try it for yourself!

Copy&Paste into your terminal: pip install flet_navigator

from flet import app, Text, FilledButton

from flet_navigator import RouteContext, route, fn_process


@route('/')
def main(ctx: RouteContext) -> None:
    ctx.add(Text('Hello World!'))

    ctx.add(FilledButton('Navigate to the second page!', on_click=lambda _: ctx.navigate('second')))

@route
def second(ctx: RouteContext) -> None:
    ctx.add(Text('I am the second page!'))

    ctx.add(FilledButton('Return to the homepage!', on_click=lambda _: ctx.navigate_homepage()))

app(fn_process())

→ Read the official web API documentation.


FletNavigator 2025

About

⚡⚓ Minimalist, fast, and effective navigation/routing library for Flet applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages