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