diff --git a/assets/area_code/area_code_full.json b/assets/map_style/area_code_full.json similarity index 100% rename from assets/area_code/area_code_full.json rename to assets/map_style/area_code_full.json diff --git a/lib/community/community_view/class_details_video.dart b/lib/community/community_view/class_details_video.dart index 62611fde..bbabd49d 100644 --- a/lib/community/community_view/class_details_video.dart +++ b/lib/community/community_view/class_details_video.dart @@ -78,8 +78,10 @@ class ClassDetailsVideoState extends State { //自动播放 looping: false, //循环播放 - allowFullScreen: false, - // 允许的屏幕睡眠 + allowFullScreen: true, + // 允许全屏 + allowedScreenSleep: true, + //允许屏幕休眠 materialProgressColors: chewie.ChewieProgressColors( playedColor: Colors.white, handleColor: Colors.white, diff --git a/lib/login/phone_address_page.dart b/lib/login/phone_address_page.dart index b7529de7..cd7e50ad 100644 --- a/lib/login/phone_address_page.dart +++ b/lib/login/phone_address_page.dart @@ -27,7 +27,7 @@ class _PhoneAddressPage extends State { void areaCode() async { var value = - await rootBundle.loadString('assets/area_code/area_code_full.json'); + await rootBundle.loadString('assets/map_style/area_code_full.json'); areaMap = jsonDecode(value); areaMap.forEach((key, value) { areaList.add(key); diff --git a/pubspec.yaml b/pubspec.yaml index b6225673..e29f45e9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,7 +111,6 @@ flutter: - assets/image/2x/ - assets/image/3x/ - assets/map_style/ - - asstes/area_code/ - assets/riv/ - assets/svg/ # - assets/fonts/