Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to use builder instead of icon and title. #39

Closed
felixkriechbaum opened this issue Dec 4, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@felixkriechbaum
Copy link

felixkriechbaum commented Dec 4, 2022

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:
image

MyCode:
image

@Jamalianpour Jamalianpour added the bug Something isn't working label Dec 5, 2022
@Jamalianpour
Copy link
Owner

Oh sorry you right
It will be fixed in next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants