我试着让选项卡栏稍微向上并在屏幕底部变圆,但当你应用页边距时,它留下了一个白色区域,而其他组件,如滚动视图,无法在该区域显示。 ? 我尝试过zIndex,但白色区域附着在选项卡栏上,无法通过设置样式来处理 this is option for bottomtabbar including the style of tabbar .activeTintColor: '#e91e63',
ina
我正在使用Flutter中的tab栏。我有3个标签里面的底部导航栏,每当应用程序启动时,第一个标签将被默认选择。enter image description here 我希望应用程序打开与中心选项卡作为默认选项卡。 enter image description here 我怎样才能做到这一点呢?bottomNavigationBar: Container( decoration: BoxDecoration