From c1e9d62ddabc6e74c22e489961dcf98f6460a3e7 Mon Sep 17 00:00:00 2001
From: Weller <1812208341@qq.com>
Date: Fri, 1 Apr 2022 17:02:01 +0800
Subject: [PATCH] null-safe
---
.dart_tool/package_config.json | 146 ++++++
.dart_tool/package_config_subset | 93 ++++
.dart_tool/version | 1 +
.idea/.gitignore | 3 +
.idea/dbnavigator.xml | 458 ++++++++++++++++++
.idea/flutter_jdsdk.iml | 18 +
.idea/libraries/Dart_SDK.xml | 27 ++
.idea/libraries/Flutter_Plugins.xml | 9 +
.idea/misc.xml | 6 +
.idea/modules.xml | 8 +
.idea/vcs.xml | 6 +
.packages | 29 ++
example/.dart_tool/package_config.json | 98 ++--
example/.dart_tool/package_config_subset | 101 ++++
example/.dart_tool/version | 1 +
example/.flutter-plugins | 2 +
example/.flutter-plugins-dependencies | 1 +
example/.packages | 31 ++
example/android/local.properties | 2 +
example/ios/Flutter/Generated.xcconfig | 13 +
.../ios/Flutter/flutter_export_environment.sh | 13 +
example/pubspec.lock | 167 +++++++
lib/jdsdk.dart | 4 +-
pubspec.lock | 153 ++++++
pubspec.yaml | 2 +-
25 files changed, 1343 insertions(+), 49 deletions(-)
create mode 100644 .dart_tool/package_config.json
create mode 100644 .dart_tool/package_config_subset
create mode 100644 .dart_tool/version
create mode 100644 .idea/.gitignore
create mode 100644 .idea/dbnavigator.xml
create mode 100644 .idea/flutter_jdsdk.iml
create mode 100644 .idea/libraries/Dart_SDK.xml
create mode 100644 .idea/libraries/Flutter_Plugins.xml
create mode 100644 .idea/misc.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/vcs.xml
create mode 100644 .packages
create mode 100644 example/.dart_tool/package_config_subset
create mode 100644 example/.dart_tool/version
create mode 100644 example/.flutter-plugins
create mode 100644 example/.flutter-plugins-dependencies
create mode 100644 example/.packages
create mode 100644 example/android/local.properties
create mode 100644 example/ios/Flutter/Generated.xcconfig
create mode 100755 example/ios/Flutter/flutter_export_environment.sh
create mode 100644 example/pubspec.lock
create mode 100644 pubspec.lock
diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json
new file mode 100644
index 0000000..3415be7
--- /dev/null
+++ b/.dart_tool/package_config.json
@@ -0,0 +1,146 @@
+{
+ "configVersion": 2,
+ "packages": [
+ {
+ "name": "async",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "boolean_selector",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "characters",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "charcode",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "clock",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "collection",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "fake_async",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "flutter",
+ "rootUri": "file:///Users/fnuouser/Documents/code/flutter/packages/flutter",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "flutter_test",
+ "rootUri": "file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "matcher",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "material_color_utilities",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3",
+ "packageUri": "lib/",
+ "languageVersion": "2.13"
+ },
+ {
+ "name": "meta",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "path",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "sky_engine",
+ "rootUri": "file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "source_span",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "stack_trace",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "stream_channel",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "string_scanner",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "term_glyph",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "test_api",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "typed_data",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "vector_math",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1",
+ "packageUri": "lib/",
+ "languageVersion": "2.14"
+ },
+ {
+ "name": "jdsdk",
+ "rootUri": "../",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ }
+ ],
+ "generated": "2022-03-23T10:13:45.063379Z",
+ "generator": "pub",
+ "generatorVersion": "2.16.1"
+}
diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset
new file mode 100644
index 0000000..eef31a8
--- /dev/null
+++ b/.dart_tool/package_config_subset
@@ -0,0 +1,93 @@
+async
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2/lib/
+boolean_selector
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/lib/
+characters
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0/lib/
+charcode
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1/lib/
+clock
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/lib/
+collection
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/lib/
+fake_async
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/lib/
+matcher
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11/lib/
+material_color_utilities
+2.13
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3/lib/
+meta
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0/lib/
+path
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/lib/
+source_span
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1/lib/
+stack_trace
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/lib/
+stream_channel
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/lib/
+string_scanner
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/lib/
+term_glyph
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/lib/
+test_api
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8/lib/
+typed_data
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/lib/
+vector_math
+2.14
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1/lib/
+sky_engine
+2.12
+file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine/
+file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine/lib/
+flutter
+2.12
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter/
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter/lib/
+flutter_test
+2.12
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test/
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test/lib/
+jdsdk
+2.12
+file:///Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/
+file:///Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/lib/
+2
diff --git a/.dart_tool/version b/.dart_tool/version
new file mode 100644
index 0000000..fe18249
--- /dev/null
+++ b/.dart_tool/version
@@ -0,0 +1 @@
+2.10.3
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/dbnavigator.xml b/.idea/dbnavigator.xml
new file mode 100644
index 0000000..fac3a35
--- /dev/null
+++ b/.idea/dbnavigator.xml
@@ -0,0 +1,458 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/flutter_jdsdk.iml b/.idea/flutter_jdsdk.iml
new file mode 100644
index 0000000..2c9cb7e
--- /dev/null
+++ b/.idea/flutter_jdsdk.iml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml
new file mode 100644
index 0000000..91dae00
--- /dev/null
+++ b/.idea/libraries/Dart_SDK.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml
new file mode 100644
index 0000000..53449da
--- /dev/null
+++ b/.idea/libraries/Flutter_Plugins.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..f8c5fc9
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..5b3236d
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.packages b/.packages
new file mode 100644
index 0000000..b54dbf7
--- /dev/null
+++ b/.packages
@@ -0,0 +1,29 @@
+# This file is deprecated. Tools should instead consume
+# `.dart_tool/package_config.json`.
+#
+# For more info see: https://dart.dev/go/dot-packages-deprecation
+#
+# Generated by pub on 2022-03-23 18:13:45.052458.
+async:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2/lib/
+boolean_selector:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/lib/
+characters:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0/lib/
+charcode:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1/lib/
+clock:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/lib/
+collection:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/lib/
+fake_async:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/lib/
+flutter:file:///Users/fnuouser/Documents/code/flutter/packages/flutter/lib/
+flutter_test:file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test/lib/
+matcher:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11/lib/
+material_color_utilities:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3/lib/
+meta:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0/lib/
+path:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/lib/
+sky_engine:file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine/lib/
+source_span:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1/lib/
+stack_trace:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/lib/
+stream_channel:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/lib/
+string_scanner:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/lib/
+term_glyph:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/lib/
+test_api:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8/lib/
+typed_data:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/lib/
+vector_math:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1/lib/
+jdsdk:lib/
diff --git a/example/.dart_tool/package_config.json b/example/.dart_tool/package_config.json
index 66ac825..fb634fc 100644
--- a/example/.dart_tool/package_config.json
+++ b/example/.dart_tool/package_config.json
@@ -3,141 +3,147 @@
"packages": [
{
"name": "async",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/async-2.5.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "boolean_selector",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "characters",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/characters-1.1.0-nullsafety.3",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "charcode",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.2.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "clock",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "collection",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0-nullsafety.3",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "cupertino_icons",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-0.1.3",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-0.1.3",
"packageUri": "lib/",
"languageVersion": "2.0"
},
{
"name": "fake_async",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "flutter",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/packages/flutter",
+ "rootUri": "file:///Users/fnuouser/Documents/code/flutter/packages/flutter",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "flutter_test",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/packages/flutter_test",
+ "rootUri": "file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test",
"packageUri": "lib/",
- "languageVersion": "2.2"
+ "languageVersion": "2.12"
},
{
"name": "jdsdk",
"rootUri": "../../",
"packageUri": "lib/",
- "languageVersion": "2.1"
+ "languageVersion": "2.12"
},
{
"name": "matcher",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.10-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11",
+ "packageUri": "lib/",
+ "languageVersion": "2.12"
+ },
+ {
+ "name": "material_color_utilities",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.13"
},
{
"name": "meta",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/meta-1.3.0-nullsafety.3",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "path",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "sky_engine",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/bin/cache/pkg/sky_engine",
+ "rootUri": "file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
- "languageVersion": "1.11"
+ "languageVersion": "2.12"
},
{
"name": "source_span",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.0-nullsafety.2",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "stack_trace",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "stream_channel",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "string_scanner",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "term_glyph",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0-nullsafety.1",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "test_api",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.2.19-nullsafety.2",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "typed_data",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0-nullsafety.3",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.12"
},
{
"name": "vector_math",
- "rootUri": "file:///Users/fnuoos/development/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.0-nullsafety.3",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1",
"packageUri": "lib/",
- "languageVersion": "2.10"
+ "languageVersion": "2.14"
},
{
"name": "jdsdk_example",
@@ -146,7 +152,7 @@
"languageVersion": "2.1"
}
],
- "generated": "2021-05-21T07:44:13.030851Z",
+ "generated": "2022-03-23T10:13:46.040839Z",
"generator": "pub",
- "generatorVersion": "2.10.0"
+ "generatorVersion": "2.16.1"
}
diff --git a/example/.dart_tool/package_config_subset b/example/.dart_tool/package_config_subset
new file mode 100644
index 0000000..787a937
--- /dev/null
+++ b/example/.dart_tool/package_config_subset
@@ -0,0 +1,101 @@
+async
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2/lib/
+boolean_selector
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/lib/
+characters
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0/lib/
+charcode
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1/lib/
+clock
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/lib/
+collection
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/lib/
+cupertino_icons
+2.0
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-0.1.3/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-0.1.3/lib/
+fake_async
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/lib/
+matcher
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11/lib/
+material_color_utilities
+2.13
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3/lib/
+meta
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0/lib/
+path
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/lib/
+source_span
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1/lib/
+stack_trace
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/lib/
+stream_channel
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/lib/
+string_scanner
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/lib/
+term_glyph
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/lib/
+test_api
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8/lib/
+typed_data
+2.12
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/lib/
+vector_math
+2.14
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1/
+file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1/lib/
+sky_engine
+2.12
+file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine/
+file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine/lib/
+flutter
+2.12
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter/
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter/lib/
+flutter_test
+2.12
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test/
+file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test/lib/
+jdsdk
+2.12
+file:///Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/
+file:///Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/lib/
+jdsdk_example
+2.1
+file:///Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/example/
+file:///Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/example/lib/
+2
diff --git a/example/.dart_tool/version b/example/.dart_tool/version
new file mode 100644
index 0000000..fe18249
--- /dev/null
+++ b/example/.dart_tool/version
@@ -0,0 +1 @@
+2.10.3
\ No newline at end of file
diff --git a/example/.flutter-plugins b/example/.flutter-plugins
new file mode 100644
index 0000000..572e31e
--- /dev/null
+++ b/example/.flutter-plugins
@@ -0,0 +1,2 @@
+# This is a generated file; do not edit or check into version control.
+jdsdk=/Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/
diff --git a/example/.flutter-plugins-dependencies b/example/.flutter-plugins-dependencies
new file mode 100644
index 0000000..7a21a95
--- /dev/null
+++ b/example/.flutter-plugins-dependencies
@@ -0,0 +1 @@
+{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"jdsdk","path":"/Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/","dependencies":[]}],"android":[{"name":"jdsdk","path":"/Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"jdsdk","dependencies":[]}],"date_created":"2022-03-23 18:13:46.127157","version":"2.10.3"}
\ No newline at end of file
diff --git a/example/.packages b/example/.packages
new file mode 100644
index 0000000..cc7fc62
--- /dev/null
+++ b/example/.packages
@@ -0,0 +1,31 @@
+# This file is deprecated. Tools should instead consume
+# `.dart_tool/package_config.json`.
+#
+# For more info see: https://dart.dev/go/dot-packages-deprecation
+#
+# Generated by pub on 2022-03-23 18:13:46.031638.
+async:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/async-2.8.2/lib/
+boolean_selector:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.0/lib/
+characters:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/characters-1.2.0/lib/
+charcode:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.3.1/lib/
+clock:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.0/lib/
+collection:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/collection-1.15.0/lib/
+cupertino_icons:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-0.1.3/lib/
+fake_async:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.2.0/lib/
+flutter:file:///Users/fnuouser/Documents/code/flutter/packages/flutter/lib/
+flutter_test:file:///Users/fnuouser/Documents/code/flutter/packages/flutter_test/lib/
+jdsdk:../lib/
+matcher:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.11/lib/
+material_color_utilities:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/material_color_utilities-0.1.3/lib/
+meta:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/meta-1.7.0/lib/
+path:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/path-1.8.0/lib/
+sky_engine:file:///Users/fnuouser/Documents/code/flutter/bin/cache/pkg/sky_engine/lib/
+source_span:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.8.1/lib/
+stack_trace:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.10.0/lib/
+stream_channel:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-2.1.0/lib/
+string_scanner:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.1.0/lib/
+term_glyph:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.2.0/lib/
+test_api:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.4.8/lib/
+typed_data:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.3.0/lib/
+vector_math:file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.1.1/lib/
+jdsdk_example:lib/
diff --git a/example/android/local.properties b/example/android/local.properties
new file mode 100644
index 0000000..72c745d
--- /dev/null
+++ b/example/android/local.properties
@@ -0,0 +1,2 @@
+sdk.dir=/Users/fnuouser/Library/Android/sdk
+flutter.sdk=/Users/fnuouser/Documents/code/flutter
\ No newline at end of file
diff --git a/example/ios/Flutter/Generated.xcconfig b/example/ios/Flutter/Generated.xcconfig
new file mode 100644
index 0000000..48174ff
--- /dev/null
+++ b/example/ios/Flutter/Generated.xcconfig
@@ -0,0 +1,13 @@
+// This is a generated file; do not edit or check into version control.
+FLUTTER_ROOT=/Users/fnuouser/Documents/code/flutter
+FLUTTER_APPLICATION_PATH=/Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/example
+COCOAPODS_PARALLEL_CODE_SIGN=true
+FLUTTER_TARGET=lib/main.dart
+FLUTTER_BUILD_DIR=build
+FLUTTER_BUILD_NAME=1.0.0
+FLUTTER_BUILD_NUMBER=1
+EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
+DART_OBFUSCATION=false
+TRACK_WIDGET_CREATION=false
+TREE_SHAKE_ICONS=false
+PACKAGE_CONFIG=.packages
diff --git a/example/ios/Flutter/flutter_export_environment.sh b/example/ios/Flutter/flutter_export_environment.sh
new file mode 100755
index 0000000..f5656e8
--- /dev/null
+++ b/example/ios/Flutter/flutter_export_environment.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# This is a generated file; do not edit or check into version control.
+export "FLUTTER_ROOT=/Users/fnuouser/Documents/code/flutter"
+export "FLUTTER_APPLICATION_PATH=/Users/fnuouser/Documents/code/zhiying/flutter_jdsdk/example"
+export "COCOAPODS_PARALLEL_CODE_SIGN=true"
+export "FLUTTER_TARGET=lib/main.dart"
+export "FLUTTER_BUILD_DIR=build"
+export "FLUTTER_BUILD_NAME=1.0.0"
+export "FLUTTER_BUILD_NUMBER=1"
+export "DART_OBFUSCATION=false"
+export "TRACK_WIDGET_CREATION=false"
+export "TREE_SHAKE_ICONS=false"
+export "PACKAGE_CONFIG=.packages"
diff --git a/example/pubspec.lock b/example/pubspec.lock
new file mode 100644
index 0000000..49feae2
--- /dev/null
+++ b/example/pubspec.lock
@@ -0,0 +1,167 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: transitive
+ description:
+ name: async
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.8.2"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ characters:
+ dependency: transitive
+ description:
+ name: characters
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ charcode:
+ dependency: transitive
+ description:
+ name: charcode
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.3.1"
+ clock:
+ dependency: transitive
+ description:
+ name: clock
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.15.0"
+ cupertino_icons:
+ dependency: "direct main"
+ description:
+ name: cupertino_icons
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.1.3"
+ fake_async:
+ dependency: transitive
+ description:
+ name: fake_async
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ jdsdk:
+ dependency: "direct dev"
+ description:
+ path: ".."
+ relative: true
+ source: path
+ version: "0.0.1"
+ 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"
+ source: hosted
+ version: "0.1.3"
+ meta:
+ dependency: transitive
+ description:
+ name: meta
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.7.0"
+ path:
+ dependency: transitive
+ description:
+ name: path
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.8.0"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.8.1"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.10.0"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.4.8"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.3.0"
+ vector_math:
+ dependency: transitive
+ description:
+ name: vector_math
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.1"
+sdks:
+ dart: ">=2.14.0 <3.0.0"
diff --git a/lib/jdsdk.dart b/lib/jdsdk.dart
index 4089065..d028b2e 100644
--- a/lib/jdsdk.dart
+++ b/lib/jdsdk.dart
@@ -12,13 +12,13 @@ class Jdsdk {
}
///初始化sdk
- static Future init({@required String appKey, @required String appSecret}) async {
+ static Future init({required String appKey, required String appSecret}) async {
var result = await _channel.invokeMethod('init',{"appKey": appKey, "appSecret": appSecret});
return result?.toString();
}
///打开京东任意url
- static Future openUrl({@required String url}) async {
+ static Future openUrl({required String url}) async {
final String version = await _channel.invokeMethod('openUrl',{"url": url});
return version?.toString();
}
diff --git a/pubspec.lock b/pubspec.lock
new file mode 100644
index 0000000..e12fb22
--- /dev/null
+++ b/pubspec.lock
@@ -0,0 +1,153 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: transitive
+ description:
+ name: async
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.8.2"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ characters:
+ dependency: transitive
+ description:
+ name: characters
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ charcode:
+ dependency: transitive
+ description:
+ name: charcode
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.3.1"
+ clock:
+ dependency: transitive
+ description:
+ name: clock
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.15.0"
+ fake_async:
+ dependency: transitive
+ description:
+ name: fake_async
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ 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"
+ source: hosted
+ version: "0.1.3"
+ meta:
+ dependency: transitive
+ description:
+ name: meta
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.7.0"
+ path:
+ dependency: transitive
+ description:
+ name: path
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.8.0"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.8.1"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.10.0"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.0"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.1.0"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.2.0"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "0.4.8"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "1.3.0"
+ vector_math:
+ dependency: transitive
+ description:
+ name: vector_math
+ url: "https://pub.flutter-io.cn"
+ source: hosted
+ version: "2.1.1"
+sdks:
+ dart: ">=2.14.0 <3.0.0"
diff --git a/pubspec.yaml b/pubspec.yaml
index e97fa56..816aaf1 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -5,7 +5,7 @@ author: wuchaowen
homepage: https://github.com/selfimgr/flutter_jdsdk.git
environment:
- sdk: ">=2.1.0 <3.0.0"
+ sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter: