flutterdartflutter-dependenciesshowcaseview

Showcaseview package highlighting CupertinoTabScaffold (used as BottomNavBar) [Flutter]


I am using showCaseView package and when I'm highlighting widgets, cupertinoTabScaffold is also highlighted. ShowCaseWidget wrapping MaterialApp widget so TabScaffold and all other widgets wrapped by ShowCase package. Has anyone encountered this, how to solve this issue?


Solution

  • I changed the color of CupertinoTabScaffold depending on whether "showCaseView" is active now, or not:

      tabBar: CustomCupertinoTabBar(
          backgroundColor:
              Provider.of<NotifyShowcaseState>(context).isShowcaseActive //I've created ChangeNotifier class for updating state
                  ? const Color(0x99BDBDBD) //dimmed grey if showCase is active
                  : null,  //default white color, if showCase is inActive
                ....
            ),