Windows support

This commit is contained in:
Hillel Coren 2020-09-25 10:46:05 +03:00
parent 96ef6fe6f7
commit 12677d1ff5
3 changed files with 57 additions and 43 deletions

View File

@ -49,10 +49,8 @@ class _HealthCheckDialogState extends State<HealthCheckDialog> {
}); });
} }
String _parseVersion(String version) { String _parseVersion(String version) =>
RegExp regExp = new RegExp(r'(\d+\.\d+.\d+)'); RegExp(r'(\d+\.\d+.\d+)').stringMatch(version);
return regExp.stringMatch(version);
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View File

@ -217,7 +217,7 @@ packages:
name: device_info name: device_info
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.2+7" version: "0.4.2+8"
device_info_platform_interface: device_info_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -260,6 +260,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.1" version: "1.2.1"
ffi:
dependency: transitive
description:
name: ffi
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
file: file:
dependency: transitive dependency: transitive
description: description:
@ -379,7 +386,7 @@ packages:
name: flutter_plugin_android_lifecycle name: flutter_plugin_android_lifecycle
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.9" version: "1.0.11"
flutter_redux: flutter_redux:
dependency: "direct main" dependency: "direct main"
description: description:
@ -438,7 +445,7 @@ packages:
name: google_sign_in name: google_sign_in
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.5.3" version: "4.5.4"
google_sign_in_platform_interface: google_sign_in_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -501,28 +508,28 @@ packages:
name: image name: image
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.15" version: "2.1.17"
image_picker: image_picker:
dependency: "direct main" dependency: "direct main"
description: description:
name: image_picker name: image_picker
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.7+7" version: "0.6.7+11"
image_picker_platform_interface: image_picker_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: image_picker_platform_interface name: image_picker_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0" version: "1.1.1"
in_app_purchase: in_app_purchase:
dependency: "direct main" dependency: "direct main"
description: description:
name: in_app_purchase name: in_app_purchase
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.4+8" version: "0.3.4+9"
intl: intl:
dependency: "direct main" dependency: "direct main"
description: description:
@ -543,14 +550,14 @@ packages:
name: js name: js
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.3-nullsafety" version: "0.6.3-nullsafety.1"
json_annotation: json_annotation:
dependency: transitive dependency: transitive
description: description:
name: json_annotation name: json_annotation
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.1" version: "3.1.0"
json_rpc_2: json_rpc_2:
dependency: transitive dependency: transitive
description: description:
@ -564,7 +571,7 @@ packages:
name: local_auth name: local_auth
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.3+1" version: "0.6.3+2"
logging: logging:
dependency: transitive dependency: transitive
description: description:
@ -585,7 +592,7 @@ packages:
name: material_design_icons_flutter name: material_design_icons_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.5555" version: "4.0.5655"
memoize: memoize:
dependency: "direct main" dependency: "direct main"
description: description:
@ -676,7 +683,7 @@ packages:
name: path_provider name: path_provider
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.14" version: "1.6.18"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description:
@ -690,7 +697,7 @@ packages:
name: path_provider_macos name: path_provider_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.4+3" version: "0.0.4+4"
path_provider_platform_interface: path_provider_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -698,13 +705,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "1.0.3"
path_provider_windows:
dependency: transitive
description:
name: path_provider_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.4+1"
pedantic: pedantic:
dependency: transitive dependency: transitive
description: description:
name: pedantic name: pedantic
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.10.0-nullsafety" version: "1.10.0-nullsafety.1"
petitparser: petitparser:
dependency: transitive dependency: transitive
description: description:
@ -719,13 +733,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.0-nullsafety.1" version: "3.0.0-nullsafety.1"
platform_detect:
dependency: transitive
description:
name: platform_detect
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
plugin_platform_interface: plugin_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -739,7 +746,7 @@ packages:
name: pool name: pool
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.5.0-nullsafety" version: "1.5.0-nullsafety.1"
process: process:
dependency: transitive dependency: transitive
description: description:
@ -809,14 +816,14 @@ packages:
name: share name: share
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.5" version: "0.6.5+2"
shared_preferences: shared_preferences:
dependency: "direct main" dependency: "direct main"
description: description:
name: shared_preferences name: shared_preferences
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.5.10" version: "0.5.12"
shared_preferences_linux: shared_preferences_linux:
dependency: transitive dependency: transitive
description: description:
@ -845,6 +852,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.2+7" version: "0.1.2+7"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+1"
shelf: shelf:
dependency: transitive dependency: transitive
description: description:
@ -884,21 +898,21 @@ packages:
name: source_gen name: source_gen
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.9.6" version: "0.9.7+1"
source_map_stack_trace: source_map_stack_trace:
dependency: transitive dependency: transitive
description: description:
name: source_map_stack_trace name: source_map_stack_trace
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.0-nullsafety.1" version: "2.1.0-nullsafety.2"
source_maps: source_maps:
dependency: transitive dependency: transitive
description: description:
name: source_maps name: source_maps
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.10.10-nullsafety" version: "0.10.10-nullsafety.1"
source_span: source_span:
dependency: transitive dependency: transitive
description: description:
@ -1017,7 +1031,7 @@ packages:
name: url_launcher name: url_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.6.0" version: "5.7.2"
url_launcher_linux: url_launcher_linux:
dependency: transitive dependency: transitive
description: description:
@ -1031,7 +1045,7 @@ packages:
name: url_launcher_macos name: url_launcher_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.1+7" version: "0.0.1+8"
url_launcher_platform_interface: url_launcher_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -1045,7 +1059,7 @@ packages:
name: url_launcher_web name: url_launcher_web
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.3+2" version: "0.1.4+1"
url_launcher_windows: url_launcher_windows:
dependency: transitive dependency: transitive
description: description:
@ -1087,7 +1101,7 @@ packages:
name: vm_service name: vm_service
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.0.0+1" version: "5.2.0"
vm_service_client: vm_service_client:
dependency: transitive dependency: transitive
description: description:
@ -1129,7 +1143,14 @@ packages:
name: webview_flutter name: webview_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.22+1" version: "0.3.24"
win32:
dependency: transitive
description:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.3"
xdg_directories: xdg_directories:
dependency: transitive dependency: transitive
description: description:
@ -1143,7 +1164,7 @@ packages:
name: xml name: xml
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.5.0" version: "4.5.1"
yaml: yaml:
dependency: transitive dependency: transitive
description: description:

View File

@ -18,8 +18,7 @@ dependencies:
http: ^0.12.0+4 http: ^0.12.0+4
in_app_purchase: ^0.3.1+1 in_app_purchase: ^0.3.1+1
path_provider: ^1.6.1 path_provider: ^1.6.1
shared_preferences: ^0.5.6+2 shared_preferences: ^0.5.12
#shared_preferences: '>=0.5.8 <2.0.0'
material_design_icons_flutter: ^4.0.5345 material_design_icons_flutter: ^4.0.5345
built_value: ^7.0.9 built_value: ^7.0.9
built_collection: ^4.3.2 built_collection: ^4.3.2
@ -52,10 +51,6 @@ dependencies:
version: ^1.0.0 version: ^1.0.0
#idb_shim: ^1.11.1+1 #idb_shim: ^1.11.1+1
#dependency_overrides:
# shared_preferences:
# path: ../plugins_shard_pref/packages/shared_preferences/shared_preferences
dev_dependencies: dev_dependencies:
flutter_driver: flutter_driver:
sdk: flutter sdk: flutter