Replace deprecated flutter package_info dep

https://pub.dev/documentation/package_info/latest/ lists package_info_plus
as its replacement
This commit is contained in:
Ian VanSchooten 2024-09-10 10:27:08 -04:00
parent 28a49f86cf
commit 51fe0a5d41
3 changed files with 14 additions and 6 deletions

View File

@ -6,7 +6,7 @@ import 'package:mobile_nebula/components/config/ConfigPageItem.dart';
import 'package:mobile_nebula/components/config/ConfigSection.dart'; import 'package:mobile_nebula/components/config/ConfigSection.dart';
import 'package:mobile_nebula/gen.versions.dart'; import 'package:mobile_nebula/gen.versions.dart';
import 'package:mobile_nebula/services/utils.dart'; import 'package:mobile_nebula/services/utils.dart';
import 'package:package_info/package_info.dart'; import 'package:package_info_plus/package_info_plus.dart';
class AboutScreen extends StatefulWidget { class AboutScreen extends StatefulWidget {
const AboutScreen({Key? key}) : super(key: key); const AboutScreen({Key? key}) : super(key: key);

View File

@ -240,14 +240,22 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.6" version: "1.0.6"
package_info: package_info_plus:
dependency: "direct main" dependency: "direct main"
description: description:
name: package_info name: package_info_plus
sha256: "6c07d9d82c69e16afeeeeb6866fe43985a20b3b50df243091bfc4a4ad2b03b75" sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.2" version: "8.0.2"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66
url: "https://pub.dev"
source: hosted
version: "3.0.1"
path: path:
dependency: transitive dependency: transitive
description: description:

View File

@ -27,7 +27,7 @@ dependencies:
path_provider: ^2.0.11 path_provider: ^2.0.11
file_picker: ^8.1.2 file_picker: ^8.1.2
uuid: ^4.4.2 uuid: ^4.4.2
package_info: ^2.0.0 package_info_plus: ^8.0.2
url_launcher: ^6.1.6 url_launcher: ^6.1.6
pull_to_refresh: ^2.0.0 pull_to_refresh: ^2.0.0
flutter_barcode_scanner: ^2.0.0 flutter_barcode_scanner: ^2.0.0