Frezyx / sidebarx

Flutter multiplatform navigation sidebar / side navigation bar / drawer widget

Home Page:https://pub.dev/packages/sidebarx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use custom image for icons?

sapphire008 opened this issue · comments

Is your feature request related to a problem? Please describe.
Using icon: Image.asset(...) gives the error:

The element type 'BottomNavigationBarItem' can't be assigned to the list type 'SidebarXItem'.dart[list_element_type_not_assignable](https://dart.dev/diagnostics/list_element_type_not_assignable)

Describe the solution you'd like

I would like to be able to use custom image icons.