我无法在全屏模式下使用相机,并且由于得到了bowBottomNavigation而无法获取图片或访问存储的图像,使用相机时是否可以隐藏它?
body: Stack(
children: <Widget>[
Container(
child: TabBarView(
controller: _tabController,
children: _tabList,
),
),
Align(
alignment: Alignment.bottomCenter,
child: Theme(
data: Theme.of(context).copyWith(canvasColor: Colors.transparent),
child: CurvedNavigationBar(
index: _currentIndex,
onTap: (index) {
setState(() {
_currentIndex = index;
});
_tabController.animateTo(_currentIndex);
},
items: <Widget>[
Icon(
Icons.subject,
size: 30,
color: Colors.white,
),
],
buttonBackgroundColor: Colors.red,
backgroundColor: Colors.white,
color: Colors.red,
height: 60,
),
),
),
],
),
),
);
}