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
Exception when using custom navBar on items is null even when passing itemCount #49
Comments
Can you please share your code around PersistentTabView? Also are you using a custom style? |
This will fail:
My fix was:
|
Yes, I think after the last update an assert is conflicting with the custom widget. Thanks for reporting it and I'll hopefully fix it in the upcoming update! For now you can go on with the fix that you found. When using customWidget, the items don't matter as they wont be used so passing dummy items list will do here until the next update. |
Also keep in mind that some features like |
Good to know with Thanks for your quick response and of course thanks for the great framework! |
Same issue here. I can not use @Yetispapa solution in my case. Because I am using CustomBottomNavBarItem which is not same to items's datatype (PersistentBottomNavBarItem). So I expect a quick fix on this issue. And your are doing a amazing work @BilalShahid13 . We really appreciate that. |
Same here, but as a "temporary workaround" a.k.a. hack I am creating dummy list with PersistentBottomNavBarItem and some random icon:
|
Fix will be released this weekend or early next week. Thank you for your patience! |
@BilalShahid13 Bro the issue still there. do something. |
Hi, This issue is still there. Can u pls release latest update. Thanks. |
This issue has been fixed in latest update! |
Im' currently facing the issue that the following line is throwing an exception that
items is null
:assert(assertMidButtonStyles(navBarStyle, items.length),
Even when I pass the following parameter:
itemCount: items.length, // This is required in case of custom style! Pass the number of items for the nav bar.
It seems there is a simple condition missing
The text was updated successfully, but these errors were encountered: