Navigation in Flet

GUI app development with Python & Flet

🕑 This lesson will take about 30 minutes

Flet offers a range of different ways to navigate in an app, including:

  • AppBar

  • BottomAppBar

  • MenuBar

  • NavigationBar

  • NavigationDraw

  • and more.

AppBar

An AppBar is a bar at the top of a screen that can contain content such as a logo, title and a menu with buttons (including popup menus). Here is an example of an app that has an AppBar containing an icon on the left (a Home icon), a title, and some buttons. Each button has an icon and one of the buttons also reveals a popup menu containing more buttons.

Example of an AppBar containing an icon, title text, and some buttons.

Example code: