[Question] How to add image in navigation bar instead of icon #1906
              
                Unanswered
              
          
                  
                    
                      icanhackyou
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments
-
| you should ask @ndonkoHenri | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Ex: import flet as ft
def main(page: ft.Page):
    page.title = "NavigationBar Example"
    page.navigation_bar = ft.NavigationBar(
        destinations=[
            ft.NavigationDestination(icon_content=ft.Image("https://picsum.photos/50/50"), label="Explore", ),
            ft.NavigationDestination(icon=ft.icons.COMMUTE, label="Commute"),
            ft.NavigationDestination(
                icon=ft.icons.BOOKMARK_BORDER,
                selected_icon=ft.icons.BOOKMARK,
                label="Explore",
            ),
        ]
    )
    page.add(ft.Text("Body!"))
ft.app(target=main) | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi, I am new to flet is there any way to add image(png, jpg, etc) to navigation bar instead of icons
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions