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

Can't use Showcase on Bottom Navigation Items #96

Closed
Zony-Zhao opened this issue Mar 15, 2021 · 8 comments
Closed

Can't use Showcase on Bottom Navigation Items #96

Zony-Zhao opened this issue Mar 15, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@Zony-Zhao
Copy link

Describe the bug
Page crashes when I wrap Showcase around BottomNavigationItem icons.
image

To Reproduce
Simply wrap Showcase around the Icon
image

Error
The following NoSuchMethodError was thrown building IconTheme(color: Color(0x8a000000), size: 24.0):
The getter 'activeWidgetIds' was called on null.
Receiver: null
Tried calling: activeWidgetIds

The relevant error-causing widget was:
BottomNavigationBar file:///E:/_project/flutter/upper_bunk_bro_frontend/lib/routes/tabs/HomePage.dart:92:30
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1 ShowCaseWidget.activeTargetWidget (package:showcaseview/showcase_widget.dart:51:10)
#2 _ShowcaseState.showOverlay (package:showcaseview/showcase.dart:171:43)
#3 _ShowcaseState.didChangeDependencies (package:showcaseview/showcase.dart:164:5)
#4 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4653:11)

Additional context
Android simulator.

@DevarshRanpara DevarshRanpara added the bug Something isn't working label Mar 20, 2021
@PannagaShetty
Copy link

did anyone get the solution for this

@bobykurniawan11
Copy link

I'm using packages for this https://pub.dev/packages/persistent_bottom_nav_bar

@vatsaltanna
Copy link
Collaborator

Hello @Zony-Zhao @PannagaShetty , I tried to reproduce the issue as you said in the description. but I wasn't able to replicate it. it works fine for me when I used showcase view for icons in the bottom navigation bar. it will be much more helpful If you can provide more code snippets in which you are facing this issue.

@vatsaltanna
Copy link
Collaborator

I am closing this issue because of no activity. Please feel free to reopen this if it is still happening.

@abdullah432
Copy link

@vatsaltanna how to show description box above Bottom Navigation Bar instead at the bottom?

@vatsaltanna
Copy link
Collaborator

@abdullah432 it will display description box on top automatically when there is no space to display in bottom. You can check floating action button in the example project of repository it has the same kind of behaviour.

@romreed
Copy link

romreed commented Sep 9, 2021

Simulator Screen Shot - iPhone X - 2021-09-09 at 17 45 46
Simulator Screen Shot - iPhone X - 2021-09-09 at 17 45 48

@samatzp
Copy link

samatzp commented Sep 15, 2021

откуда icon pack?)

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

8 participants