When I try to use the builder instead of the icon & title I get following error:
Exception has occurred. _AssertionError ('package:easy_sidemenu/src/side_menu_item.dart': Failed assertion: line 25 pos 16: 'title != null || icon != null': Title and icon should not be empty at the same time)
You wrote on pub.dev/packages/easy_sidemenu
Instead of title and icon in SideMenuItem can use builder to create your customize items:
When I try to use the builder instead of the icon & title I get following error:
Exception has occurred. _AssertionError ('package:easy_sidemenu/src/side_menu_item.dart': Failed assertion: line 25 pos 16: 'title != null || icon != null': Title and icon should not be empty at the same time)
You wrote on pub.dev/packages/easy_sidemenu
Instead of title and icon in SideMenuItem can use builder to create your customize items:
MyCode: