diff --git a/src/timemanagerapp/.dart_tool/package_config.json b/src/timemanagerapp/.dart_tool/package_config.json
index 4019516..ca29ead 100644
--- a/src/timemanagerapp/.dart_tool/package_config.json
+++ b/src/timemanagerapp/.dart_tool/package_config.json
@@ -3,145 +3,163 @@
"packages": [
{
"name": "async",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/async-2.11.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "boolean_selector",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "characters",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/characters-1.3.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/clock-1.1.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/collection-1.17.2",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "cupertino_icons",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.6",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.6",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "fake_async",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/fake_async-1.3.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter",
- "rootUri": "file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/packages/flutter",
+ "rootUri": "file:///E:/develop_environment/flutter-sdk/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "flutter_lints",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_lints-2.0.3",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.3",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "flutter_test",
- "rootUri": "file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/packages/flutter_test",
+ "rootUri": "file:///E:/develop_environment/flutter-sdk/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "lints",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/lints-2.1.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.1.1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "matcher",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/matcher-0.12.16",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "material_color_utilities",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/material_color_utilities-0.5.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.5.0",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "meta",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/meta-1.9.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/path-1.8.3",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
- "rootUri": "file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/bin/cache/pkg/sky_engine",
+ "rootUri": "file:///E:/develop_environment/flutter-sdk/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "source_span",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/source_span-1.10.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
+ {
+ "name": "sqflite",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/sqflite-2.3.0",
+ "packageUri": "lib/",
+ "languageVersion": "3.0"
+ },
+ {
+ "name": "sqflite_common",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/sqflite_common-2.5.0",
+ "packageUri": "lib/",
+ "languageVersion": "3.0"
+ },
{
"name": "stack_trace",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/stack_trace-1.11.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "stream_channel",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/stream_channel-2.1.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "string_scanner",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/string_scanner-1.2.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0",
+ "packageUri": "lib/",
+ "languageVersion": "2.18"
+ },
+ {
+ "name": "synchronized",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/synchronized-3.1.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "term_glyph",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/term_glyph-1.2.1",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/test_api-0.6.0",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "vector_math",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/vector_math-2.1.4",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "web",
- "rootUri": "file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/web-0.1.4-beta",
+ "rootUri": "file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.1.4-beta",
"packageUri": "lib/",
"languageVersion": "3.1"
},
@@ -152,7 +170,7 @@
"languageVersion": "3.1"
}
],
- "generated": "2023-09-20T10:23:59.121387Z",
+ "generated": "2023-09-21T23:57:22.027394Z",
"generator": "pub",
- "generatorVersion": "3.1.0"
+ "generatorVersion": "3.1.2"
}
diff --git a/src/timemanagerapp/.dart_tool/package_config_subset b/src/timemanagerapp/.dart_tool/package_config_subset
index 7a0f0be..c90e5ab 100644
--- a/src/timemanagerapp/.dart_tool/package_config_subset
+++ b/src/timemanagerapp/.dart_tool/package_config_subset
@@ -1,101 +1,113 @@
-sky_engine
-3.0
-file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/bin/cache/pkg/sky_engine/
-file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/bin/cache/pkg/sky_engine/lib/
-flutter
-3.0
-file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/packages/flutter/
-file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/packages/flutter/lib/
-flutter_test
-3.0
-file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/packages/flutter_test/
-file:///C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/packages/flutter_test/lib/
async
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/async-2.11.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/async-2.11.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/lib/
boolean_selector
2.17
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib/
characters
2.12
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/characters-1.3.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/characters-1.3.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0/lib/
clock
2.12
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/clock-1.1.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/clock-1.1.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1/lib/
collection
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/collection-1.17.2/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/collection-1.17.2/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/lib/
cupertino_icons
2.19
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.6/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.6/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.6/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.6/lib/
fake_async
2.12
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/fake_async-1.3.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/fake_async-1.3.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1/lib/
flutter_lints
2.19
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_lints-2.0.3/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_lints-2.0.3/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.3/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-2.0.3/lib/
lints
3.0
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/lints-2.1.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/lints-2.1.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.1.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/lints-2.1.1/lib/
matcher
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/matcher-0.12.16/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/matcher-0.12.16/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16/lib/
material_color_utilities
2.17
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/material_color_utilities-0.5.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/material_color_utilities-0.5.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.5.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.5.0/lib/
meta
2.12
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/meta-1.9.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/meta-1.9.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/lib/
path
2.12
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/path-1.8.3/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/path-1.8.3/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/lib/
source_span
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/source_span-1.10.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/source_span-1.10.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/lib/
+sqflite
+3.0
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/sqflite-2.3.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/sqflite-2.3.0/lib/
+sqflite_common
+3.0
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/sqflite_common-2.5.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/sqflite_common-2.5.0/lib/
stack_trace
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/stack_trace-1.11.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/stack_trace-1.11.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.0/lib/
stream_channel
2.14
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/stream_channel-2.1.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/stream_channel-2.1.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.1/lib/
string_scanner
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/string_scanner-1.2.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/string_scanner-1.2.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/lib/
+synchronized
+2.18
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/synchronized-3.1.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/synchronized-3.1.0/lib/
term_glyph
2.12
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/term_glyph-1.2.1/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/term_glyph-1.2.1/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib/
test_api
2.18
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/test_api-0.6.0/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/test_api-0.6.0/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.0/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.0/lib/
vector_math
2.14
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/vector_math-2.1.4/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/vector_math-2.1.4/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4/lib/
web
3.1
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/web-0.1.4-beta/
-file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/web-0.1.4-beta/lib/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.1.4-beta/
+file:///C:/Users/aihua/AppData/Local/Pub/Cache/hosted/pub.dev/web-0.1.4-beta/lib/
timemanagerapp
3.1
-file:///D:/Myprogramfile/Flutter/timemanagerapp/
-file:///D:/Myprogramfile/Flutter/timemanagerapp/lib/
+file:///D:/source-code/TimeManager/src/timemanagerapp/
+file:///D:/source-code/TimeManager/src/timemanagerapp/lib/
+sky_engine
+3.0
+file:///E:/develop_environment/flutter-sdk/flutter/bin/cache/pkg/sky_engine/
+file:///E:/develop_environment/flutter-sdk/flutter/bin/cache/pkg/sky_engine/lib/
+flutter
+3.0
+file:///E:/develop_environment/flutter-sdk/flutter/packages/flutter/
+file:///E:/develop_environment/flutter-sdk/flutter/packages/flutter/lib/
+flutter_test
+3.0
+file:///E:/develop_environment/flutter-sdk/flutter/packages/flutter_test/
+file:///E:/develop_environment/flutter-sdk/flutter/packages/flutter_test/lib/
2
diff --git a/src/timemanagerapp/.dart_tool/version b/src/timemanagerapp/.dart_tool/version
index 97c6841..3523e81 100644
--- a/src/timemanagerapp/.dart_tool/version
+++ b/src/timemanagerapp/.dart_tool/version
@@ -1 +1 @@
-3.13.2
\ No newline at end of file
+3.13.5
\ No newline at end of file
diff --git a/src/timemanagerapp/.idea/libraries/Dart_SDK.xml b/src/timemanagerapp/.idea/libraries/Dart_SDK.xml
index 8b4f650..ea9768b 100644
--- a/src/timemanagerapp/.idea/libraries/Dart_SDK.xml
+++ b/src/timemanagerapp/.idea/libraries/Dart_SDK.xml
@@ -1,17 +1,27 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/timemanagerapp/.idea/modules.xml b/src/timemanagerapp/.idea/modules.xml
index fd57ea6..349fb46 100644
--- a/src/timemanagerapp/.idea/modules.xml
+++ b/src/timemanagerapp/.idea/modules.xml
@@ -6,4 +6,4 @@
-
+
\ No newline at end of file
diff --git a/src/timemanagerapp/.idea/workspace.xml b/src/timemanagerapp/.idea/workspace.xml
index d4dd5a4..3045a58 100644
--- a/src/timemanagerapp/.idea/workspace.xml
+++ b/src/timemanagerapp/.idea/workspace.xml
@@ -1,24 +1,66 @@
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ "associatedIndex": 6
+}
+
+
+
@@ -35,25 +77,32 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {
+ "keyToString": {
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "WebServerToolWindowFactoryState": "false",
+ "dart.analysis.tool.window.visible": "false",
+ "io.flutter.reload.alreadyRun": "true",
+ "last_opened_file_path": "D:/source-code/TimeManager/src/timemanagerapp",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "project.structure.last.edited": "Project",
+ "project.structure.proportion": "0.15",
+ "project.structure.side.proportion": "0.2",
+ "settings.editor.selected.configurable": "AndroidSdkUpdater",
+ "show.migrate.to.gradle.popup": "false",
+ "vue.rearranger.settings.migration": "true"
+ }
+}
-
+
@@ -70,19 +119,31 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
@@ -98,6 +159,9 @@
1695207944684
+
+
+
@@ -110,4 +174,8 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/timemanagerapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java b/src/timemanagerapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
index 539ab02..2e75c2a 100644
--- a/src/timemanagerapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
+++ b/src/timemanagerapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
@@ -15,5 +15,10 @@ import io.flutter.embedding.engine.FlutterEngine;
public final class GeneratedPluginRegistrant {
private static final String TAG = "GeneratedPluginRegistrant";
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
+ try {
+ flutterEngine.getPlugins().add(new com.tekartik.sqflite.SqflitePlugin());
+ } catch (Exception e) {
+ Log.e(TAG, "Error registering plugin sqflite, com.tekartik.sqflite.SqflitePlugin", e);
+ }
}
}
diff --git a/src/timemanagerapp/android/local.properties b/src/timemanagerapp/android/local.properties
index 86439e3..1d63dd2 100644
--- a/src/timemanagerapp/android/local.properties
+++ b/src/timemanagerapp/android/local.properties
@@ -1,2 +1,5 @@
-sdk.dir=D:\\exe_Data\\Android_Studio\\sdk
-flutter.sdk=C:\\SDKs\\Flutter\\flutter_windows_3.13.2-stable\\flutter
\ No newline at end of file
+sdk.dir=E:\\develop_environment\\android-sdk
+flutter.sdk=E:\\develop_environment\\flutter-sdk\\flutter
+flutter.buildMode=debug
+flutter.versionName=1.0.0
+flutter.versionCode=1
\ No newline at end of file
diff --git a/src/timemanagerapp/android/timemanagerapp_android.iml b/src/timemanagerapp/android/timemanagerapp_android.iml
index a311c4e..8fc2fc1 100644
--- a/src/timemanagerapp/android/timemanagerapp_android.iml
+++ b/src/timemanagerapp/android/timemanagerapp_android.iml
@@ -24,4 +24,4 @@
-
+
\ No newline at end of file
diff --git a/src/timemanagerapp/ios/Runner/GeneratedPluginRegistrant.m b/src/timemanagerapp/ios/Runner/GeneratedPluginRegistrant.m
index efe65ec..dcd958a 100644
--- a/src/timemanagerapp/ios/Runner/GeneratedPluginRegistrant.m
+++ b/src/timemanagerapp/ios/Runner/GeneratedPluginRegistrant.m
@@ -6,9 +6,16 @@
#import "GeneratedPluginRegistrant.h"
+#if __has_include()
+#import
+#else
+@import sqflite;
+#endif
+
@implementation GeneratedPluginRegistrant
+ (void)registerWithRegistry:(NSObject*)registry {
+ [SqflitePlugin registerWithRegistrar:[registry registrarForPlugin:@"SqflitePlugin"]];
}
@end
diff --git a/src/timemanagerapp/lib/database/database_init.dart b/src/timemanagerapp/lib/database/database_init.dart
new file mode 100644
index 0000000..5b63867
--- /dev/null
+++ b/src/timemanagerapp/lib/database/database_init.dart
@@ -0,0 +1,30 @@
+import 'package:sqflite/sqflite.dart';
+import 'package:path/path.dart';
+import 'dart:async';
+
+/**
+ * 用于创建数据库,数据库表,并将其放回
+ */
+class MyDatabase {
+
+ static Future? initDatabase() async {
+ final databasePath = await getDatabasesPath();
+ final path = join(databasePath, 'tma.db');
+
+ // 打开数据库连接
+ final database =
+ await openDatabase(path, version: 1, onCreate: _createDatabase);
+ return Future.value(database);
+ }
+
+ static Future _createDatabase(Database db, int version) async {
+ // 创建表
+ await db.execute('''
+ CREATE TABLE IF NOT EXISTS users(
+ id INTEGER PRIMARY KEY,
+ name TEXT NOT NULL,
+ age INTEGER NOT NULL
+ )
+ ''');
+ }
+}
diff --git a/src/timemanagerapp/lib/database/新建文本文档.txt b/src/timemanagerapp/lib/database/新建文本文档.txt
deleted file mode 100644
index e69de29..0000000
diff --git a/src/timemanagerapp/lib/main.dart b/src/timemanagerapp/lib/main.dart
index 54376c1..1aa1bb5 100644
--- a/src/timemanagerapp/lib/main.dart
+++ b/src/timemanagerapp/lib/main.dart
@@ -1,3 +1,4 @@
+/*
import 'package:flutter/material.dart';
import 'package:timemanagerapp/wighets/AddCourseFormWidget.dart';
@@ -18,3 +19,109 @@ class MyApp extends StatelessWidget {
);
}
}
+*/
+import 'package:flutter/material.dart';
+import 'package:sqflite/sqflite.dart';
+import 'database/database_init.dart';
+
+void main() {
+ runApp(MyApp());
+}
+
+class MyApp extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ title: 'SQLite Demo',
+ theme: ThemeData(
+ primarySwatch: Colors.blue,
+ ),
+ home: HomePage(),
+ );
+ }
+}
+
+class HomePage extends StatefulWidget {
+ @override
+ _HomePageState createState() => _HomePageState();
+}
+
+class _HomePageState extends State {
+ Future? _database;
+ @override
+ void initState() {
+ super.initState();
+ //获取数据库对象
+ var db=MyDatabase.initDatabase();
+ setState(() {
+ _database=db;
+ });
+ }
+
+
+ Future _insertUser() async {
+ final database = await _database;
+ if (database != null) {
+ await database.transaction((txn) async {
+ // 插入数据
+ await txn.rawInsert('''
+ INSERT INTO users(name, age)
+ VALUES('John Doe', 25)
+ ''');
+ });
+ }
+ }
+
+ Future>> _getUsers() async {
+ final database = await _database;
+ if (database != null) {
+ return database.rawQuery('SELECT * FROM users');
+ } else {
+ return [];
+ }
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text('SQLite Demo'),
+ ),
+ body: Center(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ ElevatedButton(
+ onPressed: _insertUser,
+ child: Text('插入用户'),
+ ),
+ ElevatedButton(
+ onPressed: () {
+ _getUsers().then((users) {
+ showDialog(
+ context: context,
+ builder: (context) {
+ return AlertDialog(
+ title: Text('用户列表'),
+ content: Column(
+ mainAxisSize: MainAxisSize.min,
+ children: users
+ .map((user) => ListTile(
+ title: Text(user['name']),
+ subtitle: Text('Age: ${user['age']}'),
+ ))
+ .toList(),
+ ),
+ );
+ },
+ );
+ });
+ },
+ child: Text('获取用户列表'),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}
diff --git a/src/timemanagerapp/macos/Flutter/GeneratedPluginRegistrant.swift b/src/timemanagerapp/macos/Flutter/GeneratedPluginRegistrant.swift
index cccf817..8370e57 100644
--- a/src/timemanagerapp/macos/Flutter/GeneratedPluginRegistrant.swift
+++ b/src/timemanagerapp/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -5,6 +5,8 @@
import FlutterMacOS
import Foundation
+import sqflite
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
+ SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
}
diff --git a/src/timemanagerapp/pubspec.lock b/src/timemanagerapp/pubspec.lock
index 5e323d3..76e6755 100644
--- a/src/timemanagerapp/pubspec.lock
+++ b/src/timemanagerapp/pubspec.lock
@@ -6,7 +6,7 @@ packages:
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "2.11.0"
boolean_selector:
@@ -14,7 +14,7 @@ packages:
description:
name: boolean_selector
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "2.1.1"
characters:
@@ -22,7 +22,7 @@ packages:
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.3.0"
clock:
@@ -30,7 +30,7 @@ packages:
description:
name: clock
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.1.1"
collection:
@@ -38,7 +38,7 @@ packages:
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.17.2"
cupertino_icons:
@@ -46,7 +46,7 @@ packages:
description:
name: cupertino_icons
sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.0.6"
fake_async:
@@ -54,7 +54,7 @@ packages:
description:
name: fake_async
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.3.1"
flutter:
@@ -67,7 +67,7 @@ packages:
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "2.0.3"
flutter_test:
@@ -80,7 +80,7 @@ packages:
description:
name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "2.1.1"
matcher:
@@ -88,7 +88,7 @@ packages:
description:
name: matcher
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "0.12.16"
material_color_utilities:
@@ -96,7 +96,7 @@ packages:
description:
name: material_color_utilities
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "0.5.0"
meta:
@@ -104,15 +104,15 @@ packages:
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.9.1"
path:
- dependency: transitive
+ dependency: "direct main"
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.8.3"
sky_engine:
@@ -125,15 +125,31 @@ packages:
description:
name: source_span
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.10.0"
+ sqflite:
+ dependency: "direct main"
+ description:
+ name: sqflite
+ sha256: "591f1602816e9c31377d5f008c2d9ef7b8aca8941c3f89cc5fd9d84da0c38a9a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.3.0"
+ sqflite_common:
+ dependency: transitive
+ description:
+ name: sqflite_common
+ sha256: "1b92f368f44b0dee2425bb861cfa17b6f6cf3961f762ff6f941d20b33355660a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.5.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.11.0"
stream_channel:
@@ -141,7 +157,7 @@ packages:
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "2.1.1"
string_scanner:
@@ -149,15 +165,23 @@ packages:
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.2.0"
+ synchronized:
+ dependency: transitive
+ description:
+ name: synchronized
+ sha256: "5fcbd27688af6082f5abd611af56ee575342c30e87541d0245f7ff99faa02c60"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "1.2.1"
test_api:
@@ -165,7 +189,7 @@ packages:
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "0.6.0"
vector_math:
@@ -173,7 +197,7 @@ packages:
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "2.1.4"
web:
@@ -181,8 +205,9 @@ packages:
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
- url: "https://pub.flutter-io.cn"
+ url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
sdks:
dart: ">=3.1.0 <4.0.0"
+ flutter: ">=3.3.0"
diff --git a/src/timemanagerapp/pubspec.yaml b/src/timemanagerapp/pubspec.yaml
index 6861925..82ddcf3 100644
--- a/src/timemanagerapp/pubspec.yaml
+++ b/src/timemanagerapp/pubspec.yaml
@@ -35,6 +35,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
+ sqflite: ^2.3.0
+ path: ^1.8.3
dev_dependencies:
flutter_test:
diff --git a/src/timemanagerapp/timemanagerapp.iml b/src/timemanagerapp/timemanagerapp.iml
index 3c2feff..f43e15c 100644
--- a/src/timemanagerapp/timemanagerapp.iml
+++ b/src/timemanagerapp/timemanagerapp.iml
@@ -10,6 +10,7 @@
+
diff --git a/src/timemanagerapp/windows/flutter/ephemeral/generated_config.cmake b/src/timemanagerapp/windows/flutter/ephemeral/generated_config.cmake
index 837b967..5365ab6 100644
--- a/src/timemanagerapp/windows/flutter/ephemeral/generated_config.cmake
+++ b/src/timemanagerapp/windows/flutter/ephemeral/generated_config.cmake
@@ -1,6 +1,6 @@
# Generated code do not commit.
-file(TO_CMAKE_PATH "C:\\SDKs\\Flutter\\flutter_windows_3.13.2-stable\\flutter" FLUTTER_ROOT)
-file(TO_CMAKE_PATH "D:\\Myprogramfile\\Flutter\\timemanagerapp" PROJECT_DIR)
+file(TO_CMAKE_PATH "E:\\develop_environment\\flutter-sdk\\flutter" FLUTTER_ROOT)
+file(TO_CMAKE_PATH "D:\\source-code\\TimeManager\\src\\timemanagerapp" PROJECT_DIR)
set(FLUTTER_VERSION "1.0.0+1" PARENT_SCOPE)
set(FLUTTER_VERSION_MAJOR 1 PARENT_SCOPE)
@@ -10,15 +10,15 @@ set(FLUTTER_VERSION_BUILD 1 PARENT_SCOPE)
# Environment variables to pass to tool_backend.sh
list(APPEND FLUTTER_TOOL_ENVIRONMENT
- "FLUTTER_ROOT=C:\\SDKs\\Flutter\\flutter_windows_3.13.2-stable\\flutter"
- "PROJECT_DIR=D:\\Myprogramfile\\Flutter\\timemanagerapp"
- "FLUTTER_ROOT=C:\\SDKs\\Flutter\\flutter_windows_3.13.2-stable\\flutter"
- "FLUTTER_EPHEMERAL_DIR=D:\\Myprogramfile\\Flutter\\timemanagerapp\\windows\\flutter\\ephemeral"
- "PROJECT_DIR=D:\\Myprogramfile\\Flutter\\timemanagerapp"
- "FLUTTER_TARGET=D:\\Myprogramfile\\Flutter\\timemanagerapp\\lib\\main.dart"
- "DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC9iMjAxODNlMDQwOTYwOTRiY2MzN2Q5Y2RlMmE0Yjk2ZjVjYzY4NGNmLw=="
+ "FLUTTER_ROOT=E:\\develop_environment\\flutter-sdk\\flutter"
+ "PROJECT_DIR=D:\\source-code\\TimeManager\\src\\timemanagerapp"
+ "FLUTTER_ROOT=E:\\develop_environment\\flutter-sdk\\flutter"
+ "FLUTTER_EPHEMERAL_DIR=D:\\source-code\\TimeManager\\src\\timemanagerapp\\windows\\flutter\\ephemeral"
+ "PROJECT_DIR=D:\\source-code\\TimeManager\\src\\timemanagerapp"
+ "FLUTTER_TARGET=D:\\source-code\\TimeManager\\src\\timemanagerapp\\lib\\main.dart"
+ "DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC9iZDk4NmM1ZWQyMGE2MmRjMzRiNzcxOGM1MGFiYzc4MmJlYWU0YzMzLw=="
"DART_OBFUSCATION=false"
"TRACK_WIDGET_CREATION=true"
"TREE_SHAKE_ICONS=false"
- "PACKAGE_CONFIG=D:\\Myprogramfile\\Flutter\\timemanagerapp\\.dart_tool\\package_config.json"
+ "PACKAGE_CONFIG=D:\\source-code\\TimeManager\\src\\timemanagerapp\\.dart_tool\\package_config.json"
)