Преглед изворни кода

Flutter与原生桥接封装。

PC\19500 пре 2 недеља
родитељ
комит
0865f11dc7
3 измењених фајлова са 27 додато и 1 уклоњено
  1. 1 1
      lib/base/native_bridge.dart
  2. 24 0
      pubspec.lock
  3. 2 0
      pubspec.yaml

+ 1 - 1
lib/base/native_bridge.dart

@@ -31,7 +31,7 @@ class NativeBridgeException implements Exception {
     required this.code,
     required this.message,
   });
-  
+
   @override
   String toString() => '[$code] $message';
 

+ 24 - 0
pubspec.lock

@@ -289,6 +289,14 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "2.1.1"
+  equatable:
+    dependency: transitive
+    description:
+      name: equatable
+      sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7"
+      url: "https://pub.dev"
+    source: hosted
+    version: "2.0.7"
   fake_async:
     dependency: transitive
     description:
@@ -353,6 +361,14 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "1.1.1"
+  fl_chart:
+    dependency: "direct main"
+    description:
+      name: fl_chart
+      sha256: "7ca9a40f4eb85949190e54087be8b4d6ac09dc4c54238d782a34cf1f7c011de9"
+      url: "https://pub.dev"
+    source: hosted
+    version: "1.1.1"
   flutter:
     dependency: "direct main"
     description: flutter
@@ -565,6 +581,14 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "1.0.5"
+  jpush_flutter:
+    dependency: "direct main"
+    description:
+      name: jpush_flutter
+      sha256: b18c3317c355e5834246ca45fee2a3a377a1569425d2ce0ae03852df6f06c3c8
+      url: "https://pub.dev"
+    source: hosted
+    version: "3.4.0"
   js:
     dependency: transitive
     description:

+ 2 - 0
pubspec.yaml

@@ -60,6 +60,8 @@ dependencies:
   image_picker: ^1.2.1
   camera: ^0.11.3
   image: ^4.7.2
+  fl_chart: ^1.1.1
+  jpush_flutter: ^3.4.0
 
 dev_dependencies:
   flutter_test: