diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index b92c4eb..2162396 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion flutter.compileSdkVersion + compileSdkVersion getProperty('flutter.compileSdkVersion').toInteger() ndkVersion flutter.ndkVersion compileOptions { @@ -43,20 +43,15 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "ru.auroraos.flutter_example_packages" - // You can update the following values to match your application needs. - // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - minSdkVersion flutter.minSdkVersion - targetSdkVersion flutter.targetSdkVersion + minSdkVersion getProperty('flutter.minSdkVersion').toInteger() + targetSdkVersion getProperty('flutter.targetSdkVersion').toInteger() versionCode flutterVersionCode.toInteger() versionName flutterVersionName } buildTypes { release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug } } diff --git a/example/android/build.gradle b/example/android/build.gradle index 83ae220..cf4feca 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,12 +1,12 @@ buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.8.22' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/example/android/gradle.properties b/example/android/gradle.properties index 94adc3a..7c1c752 100644 --- a/example/android/gradle.properties +++ b/example/android/gradle.properties @@ -1,3 +1,6 @@ org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true +flutter.minSdkVersion=19 +flutter.targetSdkVersion=33 +flutter.compileSdkVersion=33 \ No newline at end of file diff --git a/example/lib/l10n/app_en.arb b/example/lib/l10n/app_en.arb index fb75208..b539725 100644 --- a/example/lib/l10n/app_en.arb +++ b/example/lib/l10n/app_en.arb @@ -1,4 +1,20 @@ { + "@_BATTERY_PLUS": {}, + "batteryPlusTitleBatteryLevel": "Battery Level", + "batteryPlusDescBatteryLevel": "Battery level in percent 0 - 100", + "batteryPlusTitleBatteryState": "Battery State", + "batteryPlusDescBatteryState": "Battery state: full, charging, discharging", + "batteryPlusTitleBatterySaveMode": "Save Mode", + "batteryPlusDescBatterySaveMode": "Check is enable 'Save Mode'", + "batteryPlusTitleBatteryStateLive": "Battery State 'Live'", + "batteryPlusDescBatteryStateLive": "Battery change state stream", + + "@_COMMON": {}, + "commonClose": "Close", + "commonEmptyValue": "Empty", + "commonLoading": "Loading...", + + "@_HOME_SCREEN": {}, "homePageTitle": "Flutter Aurora OS", "homeWelcomeTitle": "Welcome!", "homeWelcomeText": "In this application you can find {count} Flutter plugins supporting Aurora OS. If it happens that something is missing for you, you can write to us or add it yourself.", @@ -25,6 +41,5 @@ "homeSearch": "Search packages", "homeFilter": "Filter", "homeNotFoundTitle": "Not found", - "homeNotFoundSubtitle": "What you were looking for is not in the list of verified plugins, but this does not mean that it will not work, check it out and you may want to add it to this list of verified plugins.", - "commonClose": "Close" + "homeNotFoundSubtitle": "What you were looking for is not in the list of verified plugins, but this does not mean that it will not work, check it out and you may want to add it to this list of verified plugins." } \ No newline at end of file diff --git a/example/lib/l10n/app_ru.arb b/example/lib/l10n/app_ru.arb index e410b5e..2a85ba0 100644 --- a/example/lib/l10n/app_ru.arb +++ b/example/lib/l10n/app_ru.arb @@ -1,4 +1,20 @@ { + "@_BATTERY_PLUS": {}, + "batteryPlusTitleBatteryLevel": "Уровень заряда батареи", + "batteryPlusDescBatteryLevel": "Уровень заряда батареи в процентах от 0 до 100", + "batteryPlusTitleBatteryState": "Состояние батареи", + "batteryPlusDescBatteryState": "Состояния: full, charging, discharging", + "batteryPlusTitleBatterySaveMode": "Save Mode", + "batteryPlusDescBatterySaveMode": "Проверка включен ли режим 'Save Mode'", + "batteryPlusTitleBatteryStateLive": "Состояние батареи 'Live'", + "batteryPlusDescBatteryStateLive": "Изменение состояния батареи", + + "@_COMMON": {}, + "commonClose": "Закрыть", + "commonEmptyValue": "Пусто", + "commonLoading": "Загрузка...", + + "@_HOME_SCREEN": {}, "homePageTitle": "Flutter ОС Аврора", "homeWelcomeTitle": "Приветствую!", "homeWelcomeText": "В этом приложении вы можете найти {count} плагинов Flutter, поддерживающих ОС Aurora. Если вдруг вам чего-то не хватает, вы можете написать нам или добавить самостоятельно.", @@ -25,6 +41,5 @@ "homeSearch": "Поиск пакетов", "homeNotFoundTitle": "Не найдено", "homeNotFoundSubtitle": "То что вы искали нет в списке провереных плагинов, но это не означает что он работать не будет, проверьте его и возможно вы захотите добавить его в этот список проверенных плагинов.", - "homeFilter": "Фильтр", - "commonClose": "Закрыть" + "homeFilter": "Фильтр" } \ No newline at end of file diff --git a/example/lib/packages/battery_plus/model.dart b/example/lib/packages/battery_plus/model.dart index 591da11..a534e07 100644 --- a/example/lib/packages/battery_plus/model.dart +++ b/example/lib/packages/battery_plus/model.dart @@ -1,8 +1,66 @@ import 'package:flutter/widgets.dart'; import 'package:scoped_model/scoped_model.dart'; +import 'package:battery_plus/battery_plus.dart'; /// Model for [BatteryPlusPage] class BatteryPlusModel extends Model { /// Get [ScopedModel] static BatteryPlusModel of(BuildContext context) => ScopedModel.of(context); + + final _battery = Battery(); + + /// Error + String? _error; + + /// Public error + String? get error => _error; + + /// Public error + bool get isError => _error != null; + + /// Get battery level in percent 0-100 + Future getBatteryLevel() async { + try { + return await _battery.batteryLevel; + } catch (e, s) { + _error = e.toString(); + debugPrintStack(stackTrace: s); + } + return null; + } + + /// Get status + Future getBatteryState() async { + try { + return await _battery.batteryState; + } catch (e, s) { + _error = e.toString(); + debugPrintStack(stackTrace: s); + } + return null; + } + + /// Check is enable save mode + Future isInBatterySaveMode() async { + try { + return await _battery.isInBatterySaveMode; + } catch (e, s) { + _error = e.toString(); + debugPrintStack(stackTrace: s); + } + return null; + } + + /// Stream change state + Stream onBatteryStateChanged() async* { + try { + yield await _battery.batteryState; + await for (final state in _battery.onBatteryStateChanged) { + yield state; + } + } catch (e, s) { + _error = e.toString(); + debugPrintStack(stackTrace: s); + } + } } \ No newline at end of file diff --git a/example/lib/packages/battery_plus/page.dart b/example/lib/packages/battery_plus/page.dart index eb358aa..4bdfec1 100644 --- a/example/lib/packages/battery_plus/page.dart +++ b/example/lib/packages/battery_plus/page.dart @@ -3,6 +3,9 @@ import 'package:flutter_example_packages/base/package/package.dart'; import 'package:flutter_example_packages/packages/battery_plus/model.dart'; import 'package:flutter_example_packages/packages/battery_plus/package.dart'; import 'package:flutter_example_packages/widgets/base/export.dart'; +import 'package:flutter_example_packages/widgets/blocks/block_alert.dart'; +import 'package:flutter_example_packages/widgets/blocks/block_info_package.dart'; +import 'package:flutter_example_packages/widgets/blocks/block_item.dart'; import 'package:flutter_example_packages/widgets/layouts/block_layout.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart'; @@ -27,7 +30,48 @@ class _BatteryPlusPageState extends AppState { return BlockLayout( title: widget.package.key, builder: (context, child, model) { - return Text(widget.package.desc); + return SingleChildScrollView( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + BlockInfoPackage(widget.package), + BlockAlert(model.error), + Visibility( + visible: model.error == null, + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + BlockItem( + title: l10n.batteryPlusTitleBatteryLevel, + desc: l10n.batteryPlusDescBatteryLevel, + future: model.getBatteryLevel(), + builder: (value) => '$value%', + ), + BlockItem( + title: l10n.batteryPlusTitleBatteryState, + desc: l10n.batteryPlusDescBatteryState, + future: model.getBatteryState(), + builder: (value) => + value.toString().split('.').last.toUpperCase(), + ), + BlockItem( + title: l10n.batteryPlusTitleBatterySaveMode, + desc: l10n.batteryPlusDescBatterySaveMode, + future: model.isInBatterySaveMode(), + ), + BlockItem( + title: l10n.batteryPlusTitleBatteryStateLive, + desc: l10n.batteryPlusDescBatteryStateLive, + stream: model.onBatteryStateChanged(), + builder: (value) => + value.toString().split('.').last.toUpperCase(), + ), + ], + ), + ) + ], + ), + ); }); } } diff --git a/example/lib/theme/theme.dart b/example/lib/theme/theme.dart index ed714a4..35f0541 100644 --- a/example/lib/theme/theme.dart +++ b/example/lib/theme/theme.dart @@ -67,15 +67,15 @@ final appTheme = ThemeData( ), bodyLarge: GoogleFonts.openSans( fontSize: 18, - height: 1.5, + height: 1.3, ), bodyMedium: GoogleFonts.openSans( - fontSize: 16, - height: 1.5, + fontSize: 14, + height: 1.3, ), bodySmall: GoogleFonts.openSans( fontSize: 12, - height: 1.5, + height: 1.3, ), ), ); diff --git a/example/lib/widgets/blocks/block_alert.dart b/example/lib/widgets/blocks/block_alert.dart new file mode 100644 index 0000000..9fc879d --- /dev/null +++ b/example/lib/widgets/blocks/block_alert.dart @@ -0,0 +1,39 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_example_packages/theme/radius.dart'; +import 'package:flutter_example_packages/widgets/texts/export.dart'; + +/// Alert +class BlockAlert extends StatelessWidget { + const BlockAlert( + this.text, { + super.key, + this.color = Colors.redAccent, + this.padding = const EdgeInsets.only(bottom: 20), + }); + + final EdgeInsets padding; + final Color color; + final String? text; + + @override + Widget build(BuildContext context) { + return Visibility( + visible: text != null, + child: Padding( + padding: padding, + child: Container( + width: double.infinity, + padding: const EdgeInsets.all(10), + decoration: BoxDecoration( + color: color, + borderRadius: AppRadius.small, + ), + child: TextBodyMedium( + '$text', + color: Colors.white, + ), + ), + ), + ); + } +} diff --git a/example/lib/widgets/blocks/block_info_package.dart b/example/lib/widgets/blocks/block_info_package.dart new file mode 100644 index 0000000..caec606 --- /dev/null +++ b/example/lib/widgets/blocks/block_info_package.dart @@ -0,0 +1,64 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_example_packages/base/package/package.dart'; +import 'package:flutter_example_packages/theme/radius.dart'; +import 'package:flutter_example_packages/widgets/base/export.dart'; +import 'package:flutter_example_packages/widgets/texts/export.dart'; +import 'package:flutter_gen/gen_l10n/app_localizations.dart'; + +/// Block info package in page +class BlockInfoPackage extends AppStatelessWidget { + const BlockInfoPackage( + this.package, { + super.key, + }); + + final Package package; + + @override + Widget buildWide( + BuildContext context, + MediaQueryData media, + AppLocalizations l10n, + ) { + return Container( + padding: const EdgeInsets.all(12), + margin: const EdgeInsets.only(bottom: 20), + decoration: BoxDecoration( + color: Colors.grey.shade200, + borderRadius: AppRadius.small, + ), + child: Column( + children: [ + TextBodyMedium(package.desc), + const SizedBox(height: 8), + Divider( + height: 1, + color: Colors.grey.shade400, + ), + const SizedBox(height: 8), + Row( + children: [ + const Icon(Icons.verified, size: 14, color: Colors.green), + const SizedBox(width: 6), + TextBodySmall(package.version), + const SizedBox(width: 10), + Icon( + Icons.auto_awesome_motion, + size: 14, + color: package.isPlatformDependent + ? Colors.deepOrange + : Colors.blueAccent, + ), + const SizedBox(width: 6), + TextBodySmall( + package.isPlatformDependent + ? l10n.homeListStateDependent + : l10n.homeListStateIndependent, + ), + ], + ), + ], + ), + ); + } +} diff --git a/example/lib/widgets/blocks/block_item.dart b/example/lib/widgets/blocks/block_item.dart new file mode 100644 index 0000000..42ff987 --- /dev/null +++ b/example/lib/widgets/blocks/block_item.dart @@ -0,0 +1,74 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_example_packages/widgets/base/export.dart'; +import 'package:flutter_example_packages/widgets/texts/export.dart'; +import 'package:flutter_gen/gen_l10n/app_localizations.dart'; + +/// Block list item +class BlockItem extends AppStatelessWidget { + const BlockItem({ + super.key, + required this.title, + required this.desc, + this.future, + this.stream, + this.builder, + }); + + final String title; + final String desc; + final Stream? stream; + final Future? future; + final Function(T)? builder; + + AsyncWidgetBuilder get widgetBuilder => + (BuildContext context, AsyncSnapshot snapshot) { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + TextTitleSmall(title), + const SizedBox(height: 8), + TextBodySmall(desc), + const SizedBox(height: 8), + if (snapshot.hasData) + TextBodyMedium( + snapshot.data == null + ? '-' + : (builder == null + ? snapshot.data.toString() + : builder?.call(snapshot.data as T)), + ), + if (!snapshot.hasData) + const SizedBox( + width: 16, + height: 16, + child: CircularProgressIndicator( + color: Colors.blueAccent, + strokeWidth: 2, + ), + ), + const SizedBox(height: 20), + ], + ); + }; + + @override + Widget buildWide( + BuildContext context, + MediaQueryData media, + AppLocalizations l10n, + ) { + if (stream != null) { + return StreamBuilder( + stream: stream, + builder: widgetBuilder, + ); + } + if (future != null) { + return FutureBuilder( + future: future, + builder: widgetBuilder, + ); + } + throw "Please enter a value stream or future"; + } +} diff --git a/example/pubspec.lock b/example/pubspec.lock index c4b46e8..e20b59e 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -29,6 +29,27 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.9.0" + battery_plus: + dependency: "direct main" + description: + name: battery_plus + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.1" + battery_plus_aurora: + dependency: "direct main" + description: + path: "../packages/battery_plus/battery_plus_aurora" + relative: true + source: path + version: "0.0.1" + battery_plus_platform_interface: + dependency: transitive + description: + name: battery_plus_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.2" boolean_selector: dependency: transitive description: @@ -155,6 +176,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.2.5" + dbus: + dependency: transitive + description: + name: dbus + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.8" fake_async: dependency: transitive description: @@ -205,6 +233,11 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" frontend_server_client: dependency: transitive description: @@ -281,7 +314,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.5" + version: "0.6.4" json_annotation: dependency: transitive description: @@ -387,6 +420,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.7" + petitparser: + dependency: transitive + description: + name: petitparser + url: "https://pub.dartlang.org" + source: hosted + version: "5.1.0" platform: dependency: transitive description: @@ -525,6 +565,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.2.0" + upower: + dependency: transitive + description: + name: upower + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.0" vector_math: dependency: transitive description: @@ -560,6 +607,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.0" + xml: + dependency: transitive + description: + name: xml + url: "https://pub.dartlang.org" + source: hosted + version: "6.1.0" yaml: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index a71b4d2..f0c1483 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -13,13 +13,71 @@ dependencies: sdk: flutter flutter_localizations: sdk: flutter + ## https://pub.dev/packages/cupertino_icons cupertino_icons: ^1.0.5 + ## https://pub.dev/packages/google_fonts google_fonts: ^4.0.4 + ## https://pub.dev/packages/scoped_model scoped_model: ^2.0.0 + ## https://pub.dev/packages/get_it get_it: ^7.2.0 + ## https://pub.dev/packages/intl intl: ^0.17.0 + ## https://pub.dev/packages/universal_io universal_io: ^2.2.0 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/xdga_directories +# xdga_directories: +# path: ../packages/xdga_directories + + ## https://pub.dev/packages/battery_plus + battery_plus: ^4.0.1 + ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/battery_plus/battery_plus_aurora + battery_plus_aurora: + path: ../packages/battery_plus/battery_plus_aurora + +# ## https://pub.dev/packages/device_info_plus +# device_info_plus: ^9.0.2 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/device_info_plus/device_info_plus_aurora +# device_info_plus_aurora: +# path: ../packages/device_info_plus/device_info_plus_aurora +# +# ## https://pub.dev/packages/flutter_local_notifications +# flutter_local_notifications: ^14.1.1 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/flutter_local_notifications/flutter_local_notifications_aurora +# flutter_local_notifications_aurora: +# path: ../packages/flutter_local_notifications/flutter_local_notifications_aurora +# +# ## https://pub.dev/packages/flutter_secure_storage +# flutter_secure_storage: ^8.0.0 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/flutter_secure_storage/flutter_secure_storage_aurora +# flutter_secure_storage_aurora: +# path: ../packages/flutter_secure_storage/flutter_secure_storage_aurora +# +# ## https://pub.dev/packages/package_info_plus +# package_info_plus: 4.0.2 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/package_info_plus/package_info_plus_aurora +# package_info_plus_aurora: +# path: ../packages/package_info_plus/package_info_plus_aurora +# +# ## https://pub.dev/packages/path_provider +# path_provider: ^2.0.15 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/path_provider/path_provider_aurora +# path_provider_aurora: +# path: ../packages/path_provider/path_provider_aurora +# +# ## https://pub.dev/packages/shared_preferences +# shared_preferences: ^2.1.2 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/shared_preferences/shared_preferences_aurora +# shared_preferences_aurora: +# path: ../packages/shared_preferences/shared_preferences_aurora + +# ## https://pub.dev/packages/wakelock +# wakelock: ^0.6.2 +# ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/wakelock/wakelock_aurora +# wakelock_aurora: +# path: ../packages/wakelock/wakelock_aurora + dev_dependencies: flutter_test: sdk: diff --git a/packages/flutter_local_notifications/flutter_local_notifications_aurora/pubspec.yaml b/packages/flutter_local_notifications/flutter_local_notifications_aurora/pubspec.yaml index 3508107..45a9a59 100644 --- a/packages/flutter_local_notifications/flutter_local_notifications_aurora/pubspec.yaml +++ b/packages/flutter_local_notifications/flutter_local_notifications_aurora/pubspec.yaml @@ -15,12 +15,11 @@ dependencies: dbus: ^0.7.8 plugin_platform_interface: ^2.0.2 flutter_local_notifications_platform_interface: ^7.0.0 - package_info_plus: ^4.0.0 + ## https://pub.dev/packages/package_info_plus + package_info_plus: 4.0.2 + ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/package_info_plus/package_info_plus_aurora package_info_plus_aurora: - git: - url: git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git - ref: dev - path: packages/package_info_plus/package_info_plus_aurora + path: ../../package_info_plus/package_info_plus_aurora dev_dependencies: flutter_test: diff --git a/packages/flutter_secure_storage/flutter_secure_storage_aurora/pubspec.yaml b/packages/flutter_secure_storage/flutter_secure_storage_aurora/pubspec.yaml index a6bebce..4e1cd23 100644 --- a/packages/flutter_secure_storage/flutter_secure_storage_aurora/pubspec.yaml +++ b/packages/flutter_secure_storage/flutter_secure_storage_aurora/pubspec.yaml @@ -16,12 +16,11 @@ dependencies: plugin_platform_interface: ^2.0.2 flutter_secure_storage_platform_interface: ^1.0.1 path: ^1.8.2 - path_provider: ^2.0.14 + ## https://pub.dev/packages/path_provider + path_provider: ^2.0.15 + ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/path_provider/path_provider_aurora path_provider_aurora: - git: - url: git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git - ref: dev - path: packages/path_provider/path_provider_aurora + path: ../../path_provider/path_provider_aurora dev_dependencies: flutter_test: diff --git a/packages/path_provider/path_provider_aurora/pubspec.yaml b/packages/path_provider/path_provider_aurora/pubspec.yaml index 7af36fa..10bda19 100644 --- a/packages/path_provider/path_provider_aurora/pubspec.yaml +++ b/packages/path_provider/path_provider_aurora/pubspec.yaml @@ -15,17 +15,16 @@ dependencies: path: ^1.8.2 plugin_platform_interface: ^2.0.2 path_provider_platform_interface: ^2.0.6 + + ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/xdga_directories xdga_directories: - git: - url: git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git - ref: dev - path: packages/xdga_directories - package_info_plus: 4.0.0 + path: ../../xdga_directories + + ## https://pub.dev/packages/package_info_plus + package_info_plus: 4.0.2 + ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/package_info_plus/package_info_plus_aurora package_info_plus_aurora: - git: - url: git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git - ref: dev - path: packages/package_info_plus/package_info_plus_aurora + path: ../../package_info_plus/package_info_plus_aurora dev_dependencies: flutter_test: diff --git a/packages/shared_preferences/shared_preferences_aurora/example/pubspec.lock b/packages/shared_preferences/shared_preferences_aurora/example/pubspec.lock index 9e61cb7..3802ee9 100644 --- a/packages/shared_preferences/shared_preferences_aurora/example/pubspec.lock +++ b/packages/shared_preferences/shared_preferences_aurora/example/pubspec.lock @@ -56,7 +56,7 @@ packages: name: ffi url: "https://pub.dartlang.org" source: hosted - version: "1.2.1" + version: "2.0.2" file: dependency: transitive description: @@ -86,6 +86,20 @@ packages: description: flutter source: sdk version: "0.0.0" + http: + dependency: transitive + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.5" + http_parser: + dependency: transitive + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.2" js: dependency: transitive description: @@ -121,6 +135,27 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0" + package_info_plus: + dependency: transitive + description: + name: package_info_plus + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.2" + package_info_plus_aurora: + dependency: transitive + description: + path: "../../../package_info_plus/package_info_plus_aurora" + relative: true + source: path + version: "0.0.1" + package_info_plus_platform_interface: + dependency: transitive + description: + name: package_info_plus_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" path: dependency: transitive description: @@ -145,11 +180,9 @@ packages: path_provider_aurora: dependency: transitive description: - path: "packages/path_provider/path_provider_aurora" - ref: dev - resolved-ref: "7120c2554963ce9e7600730b2657b387d3a86d9c" - url: "git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git" - source: git + path: "../../../path_provider/path_provider_aurora" + relative: true + source: path version: "0.0.1" path_provider_foundation: dependency: transitive @@ -178,7 +211,7 @@ packages: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.7" + version: "2.1.7" platform: dependency: transitive description: @@ -303,6 +336,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.4.12" + typed_data: + dependency: transitive + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.2" vector_math: dependency: transitive description: @@ -316,7 +356,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.6.1" + version: "4.1.4" xdg_directories: dependency: transitive description: @@ -327,11 +367,9 @@ packages: xdga_directories: dependency: transitive description: - path: "packages/xdga_directories" - ref: dev - resolved-ref: "7120c2554963ce9e7600730b2657b387d3a86d9c" - url: "git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git" - source: git + path: "../../../xdga_directories" + relative: true + source: path version: "0.0.1" sdks: dart: ">=2.18.6 <3.0.0" diff --git a/packages/shared_preferences/shared_preferences_aurora/pubspec.yaml b/packages/shared_preferences/shared_preferences_aurora/pubspec.yaml index a2d9531..60a944f 100644 --- a/packages/shared_preferences/shared_preferences_aurora/pubspec.yaml +++ b/packages/shared_preferences/shared_preferences_aurora/pubspec.yaml @@ -16,12 +16,12 @@ dependencies: shared_preferences: ^2.1.1 shared_preferences_platform_interface: ^2.2.0 path: ^1.8.2 - path_provider: ^2.0.14 + + ## https://pub.dev/packages/path_provider + path_provider: ^2.0.15 + ## https://os-git.omprussia.ru/non-oss/flutter/flutter-plugins/-/tree/master/packages/path_provider/path_provider_aurora path_provider_aurora: - git: - url: git@os-git.omprussia.ru:non-oss/flutter/flutter-plugins.git - ref: dev - path: packages/path_provider/path_provider_aurora + path: ../../path_provider/path_provider_aurora dev_dependencies: flutter_test: