Use package_info_plus (#511)
diff --git a/lib/pages/about.dart b/lib/pages/about.dart
index 50ded62..53a700c 100644
--- a/lib/pages/about.dart
+++ b/lib/pages/about.dart
@@ -5,7 +5,7 @@
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/gallery_localizations.dart';
-import 'package:package_info/package_info.dart';
+import 'package:package_info_plus/package_info_plus.dart';
import 'package:url_launcher/url_launcher.dart';
void showAboutDialog({
diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift
index fc6bf65..c7621f8 100644
--- a/macos/Flutter/GeneratedPluginRegistrant.swift
+++ b/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -5,12 +5,12 @@
import FlutterMacOS
import Foundation
-import package_info
+import package_info_plus_macos
import path_provider_macos
import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))
+ FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}
diff --git a/pubspec.lock b/pubspec.lock
index f548ddd..4cec924 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -318,13 +318,48 @@
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
- package_info:
+ package_info_plus:
dependency: "direct main"
description:
- name: package_info
+ name: package_info_plus
url: "https://pub.dartlang.org"
source: hosted
- version: "2.0.0"
+ version: "1.0.1"
+ package_info_plus_linux:
+ dependency: transitive
+ description:
+ name: package_info_plus_linux
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.2"
+ package_info_plus_macos:
+ dependency: transitive
+ description:
+ name: package_info_plus_macos
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.1"
+ package_info_plus_platform_interface:
+ dependency: transitive
+ description:
+ name: package_info_plus_platform_interface
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.1"
+ package_info_plus_web:
+ dependency: transitive
+ description:
+ name: package_info_plus_web
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.1"
+ package_info_plus_windows:
+ dependency: transitive
+ description:
+ name: package_info_plus_windows
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.1"
path:
dependency: "direct dev"
description:
diff --git a/pubspec.yaml b/pubspec.yaml
index c4a4c69..5e12d43 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -22,7 +22,7 @@
google_fonts: ^2.0.0
intl: ^0.17.0
meta: ^1.3.0
- package_info: ^2.0.0
+ package_info_plus: ^1.0.1
provider: ^5.0.0
rally_assets: ^3.0.1
scoped_model: ^2.0.0-nullsafety.0