1 Scaffold( 2 body: Stack( 3 children: <Widget>[ 4 transparentAppBar(brightness: Brightness.light), //可设置brightness的透明导航栏。backgroundColor: Colors.transparent,leftItem: Container(), 5 Container(), 6 ], 7 ), 8 ),
2024-03-25 21:43:46
1 Scaffold( 2 body: Stack( 3 children: <Widget>[ 4 transparentAppBar(brightness: Brightness.light), //可设置brightness的透明导航栏。backgroundColor: Colors.transparent,leftItem: Container(), 5 Container(), 6 ], 7 ), 8 ),