void main() {
// Flutter 设置状态栏透明
if (Platform.isAndroid) {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(statusBarColor: Colors.transparent));
}
runApp(MyApp());
}
void main() {
// Flutter 设置状态栏透明
if (Platform.isAndroid) {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(statusBarColor: Colors.transparent));
}
runApp(MyApp());
}