Browse Source

编译的apk崩溃

jianboy 3 years ago
parent
commit
97ab871db0

File diff suppressed because it is too large
+ 0 - 0
.flutter-plugins-dependencies


+ 0 - 1
android/app/src/main/AndroidManifest.xml

@@ -7,7 +7,6 @@
          additional functionality it is fine to subclass or reimplement
          FlutterApplication and put your custom class here. -->
     <application
-        android:name="${applicationName}"
         android:label="douyin_demo"
         android:icon="@mipmap/ic_launcher">
         <activity

+ 2 - 156
lib/pages/CameraMain.dart → lib/pages/camera_main.dart

@@ -284,160 +284,6 @@ class _CameraMainState extends State<CameraMain> {
   }
 }
 
-// class CameraMain extends StatelessWidget {
-//   const CameraMain({Key key}) : super(key: key);
-
-//   @override
-//   Widget build(BuildContext context) {
-//     CameraProvider provider = Provider.of<CameraProvider>(context);
-//     if (provider == null || provider.cameraController == null) {
-//       return Container(
-//         child: Center(child: CircularProgressIndicator()),
-//       );
-//     }
-//     double rpx = MediaQuery.of(context).size.width / 750;
-//     double toTop = 100 * rpx;
-//     double outBox = 170 * rpx;
-//     double innerBox = 130 * rpx;
-//     CameraController _controller = provider.cameraController;
-//     var cameras = provider.cameras;
-
-//     bool ifMakeVideo = provider.ifMakeVideo;
-//     if (_controller == null || _controller?.value == null) {
-//       return Container(
-//         child: Center(child: CircularProgressIndicator()),
-//       );
-//     }
-//     final size = MediaQuery.of(context).size;
-//     return _controller.value.isInitialized
-//         ? Stack(children: <Widget>[
-//             // Camera.open(cameraId),
-
-//             ClipRect(
-//                 child: Transform.scale(
-//               scale: _controller.value.aspectRatio / size.aspectRatio,
-//               child: Center(
-//                 child: AspectRatio(
-//                   aspectRatio: _controller.value.aspectRatio,
-//                   child: CameraPreview(_controller),
-//                 ),
-//               ),
-//             )),
-//             Positioned(
-//               //顶部关闭按钮
-//               top: toTop,
-//               left: 30 * rpx,
-//               child: IconButton(
-//                 icon: Icon(
-//                   Icons.close,
-//                   color: Colors.white,
-//                   size: 60 * rpx,
-//                 ),
-//                 onPressed: () {
-//                   Navigator.pop(context);
-//                 },
-//               ),
-//             ),
-//             Positioned(
-//               //选择音乐
-//               top: toTop,
-//               left: 250 * rpx,
-//               child: Container(
-//                 width: 250 * rpx,
-//                 child: FlatButton(
-//                   onPressed: () {},
-//                   child: Row(
-//                     children: <Widget>[
-//                       Icon(
-//                         Icons.music_note,
-//                         color: Colors.white,
-//                       ),
-//                       SizedBox(
-//                         width: 10 * rpx,
-//                       ),
-//                       Text(
-//                         "选择音乐",
-//                         style: TextStyle(color: Colors.white),
-//                       ),
-//                     ],
-//                   ),
-//                 ),
-//               ),
-//             ),
-//             Positioned(
-//               //拍照按钮
-//               bottom: 140 * rpx,
-//               // left: (750*rpx-outBox)/2,
-//               child: Container(
-//                   width: 750 * rpx,
-//                   child: Row(
-//                       mainAxisAlignment: MainAxisAlignment.spaceAround,
-//                       children: [
-//                         ifMakeVideo
-//                             ? Container(
-//                                 width: 80 * rpx,
-//                               )
-//                             : IconWithText(
-//                                 icon: Icon(
-//                                   Icons.search,
-//                                   color: Colors.white,
-//                                 ),
-//                                 text: "道具"),
-//                         ifMakeVideo
-//                             ? AnimVideoButton(
-//                                 rpx: rpx,
-//                                 outWidth: outBox,
-//                                 innerWidth: innerBox - 30 * rpx,
-//                                 provider: provider,
-//                               )
-//                             : CircleTakePhoto(
-//                                 outBox: outBox,
-//                                 innerBox: innerBox,
-//                               ),
-//                         ifMakeVideo
-//                             ? IconButton(
-//                                 padding: EdgeInsets.all(0),
-//                                 icon: Icon(
-//                                   Icons.check_circle,
-//                                   color: Color.fromARGB(255, 219, 48, 85),
-//                                   size: 80 * rpx,
-//                                 ),
-//                                 onPressed: () async {
-//                                   provider.cameraController
-//                                       .stopVideoRecording();
-//                                   await ImageGallerySaver.saveFile(
-//                                       provider.fileName);
-//                                   File(provider.fileName).delete();
-//                                 },
-//                               )
-//                             : IconWithText(
-//                                 icon: Icon(
-//                                   Icons.search,
-//                                   color: Colors.white,
-//                                 ),
-//                                 text: "道具"),
-//                       ])),
-//             ),
-//             Positioned(
-//               bottom: 40 * rpx,
-//               child: ScrollBottomBar(
-//                 rpx: rpx,
-//               ),
-//             ),
-//             Positioned(
-//               right: 30 * rpx,
-//               top: 80 * rpx,
-//               child: IconButton(
-//                   icon: Icon(Icons.camera_front),
-//                   onPressed: () {
-//                     provider.changeCamera();
-//                   }),
-//             )
-//           ])
-//         : Container();
-//   }
-// }
-
 class AnimVideoButton extends StatefulWidget {
   AnimVideoButton(
       {Key key,
@@ -720,8 +566,8 @@ class CircleTakePhoto extends StatelessWidget {
             //       fileData: File(provider.fileName).readAsBytesSync());
             // });
             provider.changeFileName('mp4');
-            // provider.cameraController.startVideoRecording(provider.fileName);
-            provider.cameraController.startVideoRecording();
+            provider.cameraController.startVideoRecording(provider.fileName);
+            // provider.cameraController.startVideoRecording();
             provider.changePhotoWidget();
           },
           child: Container(

+ 3 - 1
lib/pages/SameCityPage.dart → lib/pages/same_city_page.dart

@@ -3,7 +3,9 @@ import 'package:douyin_demo/providers/PostsGalleryProvider.dart';
 import 'package:douyin_demo/widgets/bottom_bar.dart';
 import 'package:flutter/material.dart';
 import 'package:provider/provider.dart';
-
+/// Description: 同城
+/// Time       : 04/05/2022 Tuesday
+/// Author     : liuyuqi.gov@msn.cn
 class SameCityMain extends StatelessWidget {
   const SameCityMain({Key key, this.selIndex}) : super(key: key);
   final int selIndex;

+ 2 - 23
lib/widgets/bottom_bar.dart

@@ -1,32 +1,11 @@
-import 'package:douyin_demo/pages/CameraMain.dart';
-import 'package:douyin_demo/pages/SameCityPage.dart';
+import 'package:douyin_demo/pages/camera_main.dart';
+import 'package:douyin_demo/pages/same_city_page.dart';
 import 'package:douyin_demo/pages/home_page.dart';
 import 'package:douyin_demo/providers/CameraProvider.dart';
 import 'package:douyin_demo/providers/PostsGalleryProvider.dart';
 import 'package:flutter/material.dart';
 import 'package:provider/provider.dart';
 
-// class BtmBar extends StatelessWidget {
-//   const BtmBar({Key key}) : super(key: key);
-
-//   @override
-//   Widget build(BuildContext context) {
-//     // RecommendProvider provider = Provider.of<RecommendProvider>(context);
-//     return Container(
-//       child: Row(
-//         mainAxisAlignment: MainAxisAlignment.spaceAround,
-//         children: <Widget>[
-//           getBtmTextWidget("首页", true),
-//           getBtmTextWidget("同城", false),
-//           AddIcon(),
-//           getBtmTextWidget("消息", false),
-//           getBtmTextWidget("我", false),
-//         ],
-//       ),
-//     );
-//   }
-// }
-
 class BtmBar extends StatefulWidget {
   BtmBar({Key key, this.selectIndex}) : super(key: key);
   final int selectIndex;

+ 105 - 175
pubspec.lock

@@ -5,119 +5,105 @@ packages:
     dependency: "direct main"
     description:
       name: after_layout
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.1.0"
   async:
     dependency: transitive
     description:
       name: async
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.8.2"
+    version: "2.6.1"
   boolean_selector:
     dependency: transitive
     description:
       name: boolean_selector
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.1.0"
   camera:
     dependency: "direct main"
     description:
       name: camera
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.5.8+17"
   characters:
     dependency: transitive
     description:
       name: characters
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.2.0"
+    version: "1.1.0"
   charcode:
     dependency: transitive
     description:
       name: charcode
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.3.1"
+    version: "1.2.0"
   clock:
     dependency: transitive
     description:
       name: clock
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.1.0"
   collection:
     dependency: transitive
     description:
       name: collection
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "1.16.0"
-  cross_file:
-    dependency: transitive
-    description:
-      name: cross_file
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.3.2"
+    version: "1.15.0"
   crypto:
     dependency: transitive
     description:
       name: crypto
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "3.0.1"
-  csslib:
-    dependency: transitive
-    description:
-      name: csslib
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "0.17.1"
   cupertino_icons:
     dependency: "direct main"
     description:
       name: cupertino_icons
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.0.4"
   fading_edge_scrollview:
     dependency: transitive
     description:
       name: fading_edge_scrollview
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.1"
   fake_async:
     dependency: transitive
     description:
       name: fake_async
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.3.0"
+    version: "1.2.0"
   ffi:
     dependency: transitive
     description:
       name: ffi
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.1.2"
   file:
     dependency: transitive
     description:
       name: file
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "6.1.2"
   firebase_ml_vision:
     dependency: "direct main"
     description:
       name: firebase_ml_vision
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.9.10"
   flutter:
@@ -129,25 +115,25 @@ packages:
     dependency: transitive
     description:
       name: flutter_page_indicator
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.0.3"
   flutter_plugin_android_lifecycle:
     dependency: transitive
     description:
       name: flutter_plugin_android_lifecycle
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.5"
+    version: "1.0.11"
   flutter_swiper:
     dependency: "direct main"
     description:
       name: flutter_swiper
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.1.6"
   flutter_test:
-    dependency: "direct dev"
+    dependency: transitive
     description: flutter
     source: sdk
     version: "0.0.0"
@@ -156,265 +142,223 @@ packages:
     description: flutter
     source: sdk
     version: "0.0.0"
-  html:
-    dependency: transitive
-    description:
-      name: html
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "0.15.0"
   http:
     dependency: transitive
     description:
       name: http
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.13.4"
+    version: "0.12.2"
   http_parser:
     dependency: transitive
     description:
       name: http_parser
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "4.0.0"
+    version: "3.1.4"
   image_gallery_saver:
     dependency: "direct main"
     description:
       name: image_gallery_saver
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.7.1"
   image_picker:
     dependency: "direct main"
     description:
       name: image_picker
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "0.8.4+11"
-  image_picker_for_web:
-    dependency: transitive
-    description:
-      name: image_picker_for_web
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.6"
+    version: "0.6.7+22"
   image_picker_platform_interface:
     dependency: transitive
     description:
       name: image_picker_platform_interface
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.4.4"
+    version: "1.1.6"
   image_picker_saver:
     dependency: "direct main"
     description:
       name: image_picker_saver
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.3.0"
   js:
     dependency: transitive
     description:
       name: js
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.6.4"
+    version: "0.6.3"
   json_annotation:
     dependency: "direct main"
     description:
       name: json_annotation
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "4.4.0"
+    version: "3.1.1"
   lpinyin:
     dependency: "direct main"
     description:
       name: lpinyin
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.3"
   marquee:
     dependency: "direct main"
     description:
       name: marquee
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.2.1"
   marquee_flutter:
     dependency: "direct main"
     description:
       name: marquee_flutter
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.1.4"
   matcher:
     dependency: transitive
     description:
       name: matcher
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "0.12.11"
-  material_color_utilities:
-    dependency: transitive
-    description:
-      name: material_color_utilities
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.1.4"
+    version: "0.12.10"
   meta:
     dependency: transitive
     description:
       name: meta
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.7.0"
+    version: "1.3.0"
   nested:
     dependency: transitive
     description:
       name: nested
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.0.0"
   path:
     dependency: "direct main"
     description:
       name: path
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.8.1"
+    version: "1.8.0"
   path_provider:
     dependency: "direct main"
     description:
       name: path_provider
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.9"
-  path_provider_android:
-    dependency: transitive
-    description:
-      name: path_provider_android
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "2.0.12"
-  path_provider_ios:
-    dependency: transitive
-    description:
-      name: path_provider_ios
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "2.0.8"
+    version: "2.0.4"
   path_provider_linux:
     dependency: transitive
     description:
       name: path_provider_linux
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.1.5"
   path_provider_macos:
     dependency: transitive
     description:
       name: path_provider_macos
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.5"
+    version: "2.0.3"
   path_provider_platform_interface:
     dependency: transitive
     description:
       name: path_provider_platform_interface
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.3"
+    version: "2.0.0"
   path_provider_windows:
     dependency: transitive
     description:
       name: path_provider_windows
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.5"
+  pedantic:
+    dependency: transitive
+    description:
+      name: pedantic
+      url: "https://pub.dartlang.org"
+    source: hosted
+    version: "1.11.1"
   platform:
     dependency: transitive
     description:
       name: platform
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "3.1.0"
   plugin_platform_interface:
     dependency: transitive
     description:
       name: plugin_platform_interface
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.2"
+    version: "1.0.3"
   process:
     dependency: transitive
     description:
       name: process
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "4.2.4"
+    version: "4.2.3"
   provider:
     dependency: "direct main"
     description:
       name: provider
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "6.0.2"
   shared_preferences:
     dependency: "direct main"
     description:
       name: shared_preferences
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "2.0.13"
-  shared_preferences_android:
-    dependency: transitive
-    description:
-      name: shared_preferences_android
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "2.0.11"
-  shared_preferences_ios:
-    dependency: transitive
-    description:
-      name: shared_preferences_ios
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.0"
+    version: "2.0.7"
   shared_preferences_linux:
     dependency: transitive
     description:
       name: shared_preferences_linux
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.0"
+    version: "2.0.4"
   shared_preferences_macos:
     dependency: transitive
     description:
       name: shared_preferences_macos
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.3"
+    version: "2.0.2"
   shared_preferences_platform_interface:
     dependency: transitive
     description:
       name: shared_preferences_platform_interface
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.0"
   shared_preferences_web:
     dependency: transitive
     description:
       name: shared_preferences_web
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.3"
   shared_preferences_windows:
     dependency: transitive
     description:
       name: shared_preferences_windows
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.0"
+    version: "2.0.4"
   sky_engine:
     dependency: transitive
     description: flutter
@@ -424,135 +368,121 @@ packages:
     dependency: transitive
     description:
       name: source_span
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.8.2"
+    version: "1.8.1"
   stack_trace:
     dependency: transitive
     description:
       name: stack_trace
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.10.0"
   sticky_headers:
     dependency: "direct main"
     description:
       name: sticky_headers
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.1.8+1"
   stream_channel:
     dependency: transitive
     description:
       name: stream_channel
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.1.0"
   stretchy_header:
     dependency: "direct main"
     description:
       name: stretchy_header
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.0"
   string_scanner:
     dependency: transitive
     description:
       name: string_scanner
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.1.0"
   term_glyph:
     dependency: transitive
     description:
       name: term_glyph
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.2.0"
   test_api:
     dependency: transitive
     description:
       name: test_api
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.4.9"
+    version: "0.3.0"
   transformer_page_view:
     dependency: transitive
     description:
       name: transformer_page_view
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.1.6"
   typed_data:
     dependency: transitive
     description:
       name: typed_data
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "1.3.0"
   uuid:
     dependency: "direct main"
     description:
       name: uuid
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "3.0.6"
   vector_math:
     dependency: transitive
     description:
       name: vector_math
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.2"
+    version: "2.1.0"
   video_player:
     dependency: "direct main"
     description:
       name: video_player
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "2.3.0"
-  video_player_android:
-    dependency: transitive
-    description:
-      name: video_player_android
-      url: "https://pub.flutter-io.cn"
-    source: hosted
-    version: "2.3.2"
-  video_player_avfoundation:
-    dependency: transitive
-    description:
-      name: video_player_avfoundation
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.3.1"
+    version: "2.2.3"
   video_player_platform_interface:
     dependency: transitive
     description:
       name: video_player_platform_interface
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "5.1.1"
+    version: "4.2.0"
   video_player_web:
     dependency: transitive
     description:
       name: video_player_web
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "2.0.7"
   win32:
     dependency: transitive
     description:
       name: win32
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.5.1"
+    version: "2.2.10"
   xdg_directories:
     dependency: transitive
     description:
       name: xdg_directories
-      url: "https://pub.flutter-io.cn"
+      url: "https://pub.dartlang.org"
     source: hosted
     version: "0.2.0+1"
 sdks:
-  dart: ">=2.16.0-100.0.dev <3.0.0"
-  flutter: ">=2.8.0"
+  dart: ">=2.13.0 <3.0.0"
+  flutter: ">=2.0.0"

+ 7 - 7
pubspec.yaml

@@ -11,28 +11,28 @@ dependencies:
 
   cupertino_icons: ^1.0.3
   marquee: ^2.2.1
-  video_player: ^2.2.17
+  video_player: ^2.1.15
   marquee_flutter: ^0.1.4
   provider: ^6.0.1
   lpinyin: ^2.0.3
   sticky_headers: ^0.1.8
   shared_preferences: ^2.0.7
-  json_annotation: ^4.4.0
+  json_annotation: ^3.1.1
   flutter_swiper: ^1.1.6
   stretchy_header: ^2.0.0
   after_layout: ^1.0.7+2
   camera: ^0.5.6
-  path_provider: ^2.0.9
-  path: ^1.8.1
+  path_provider: ^2.0.2
+  path: ^1.8.0
   uuid: ^3.0.6
   image_picker_saver: ^0.3.0
   image_gallery_saver: ^1.7.1
   firebase_ml_vision: ^0.9.2+2
-  image_picker: ^0.8.4+4
+  image_picker: ^0.6.7+9
 
 dev_dependencies:
-  flutter_test:
-    sdk: flutter
+  # flutter_test:
+  #   sdk: flutter
 #  build_runner:
 #  json_serializable:
 

Some files were not shown because too many files changed in this diff