import 'package:flutter/services.dart';
/// 关闭
SystemChrome.setEnabledSystemUIOverlays([]);
/// 显示
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
转载于:https://www.cnblogs.com/ajanuw/p/11068931.html
import 'package:flutter/services.dart';
/// 关闭
SystemChrome.setEnabledSystemUIOverlays([]);
/// 显示
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
转载于:https://www.cnblogs.com/ajanuw/p/11068931.html