Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter Showcaseview包突出显示CupertinoTabScaffold(用作底部导航条)[颤振]_Flutter_Dart_Flutter Dependencies_Showcaseview - Fatal编程技术网

Flutter Showcaseview包突出显示CupertinoTabScaffold(用作底部导航条)[颤振]

Flutter Showcaseview包突出显示CupertinoTabScaffold(用作底部导航条)[颤振],flutter,dart,flutter-dependencies,showcaseview,Flutter,Dart,Flutter Dependencies,Showcaseview,我使用的是包,当我突出显示小部件时,cupertinoTabScaffold也会突出显示。ShowCaseWidget包装材料AppWidget和ShowCase包包装的所有其他小部件。有没有人遇到过这个问题,如何解决这个问题? 我根据“showCaseView”现在是否处于活动状态,更改了Cupertinobascapfold的颜色: tabBar: CustomCupertinoTabBar( backgroundColor: Provider.of<

我使用的是包,当我突出显示小部件时,cupertinoTabScaffold也会突出显示。ShowCaseWidget包装材料AppWidget和ShowCase包包装的所有其他小部件。有没有人遇到过这个问题,如何解决这个问题?

我根据“showCaseView”现在是否处于活动状态,更改了Cupertinobascapfold的颜色:

  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
            ....
        ),
tabBar:CustomCupertinotabar(
背景颜色:
Provider.of(context).isShowcaseActive//我已经为更新状态创建了ChangeNotifier类
?常量颜色(0x99BDBD)//如果showCase处于活动状态,则变灰
:null,//如果showCase处于非活动状态,则默认为白色
....
),