mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-11-03 23:05:44 +00:00 
			
		
		
		
	Update package_info and device_info
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
import 'dart:io';
 | 
					import 'dart:io';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'package:device_info/device_info.dart';
 | 
					import 'package:device_info_plus/device_info_plus.dart';
 | 
				
			||||||
import 'package:package_info/package_info.dart';
 | 
					import 'package:package_info_plus/package_info_plus.dart';
 | 
				
			||||||
import 'package:sentry_flutter/sentry_flutter.dart';
 | 
					import 'package:sentry_flutter/sentry_flutter.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'package:inventree/api.dart';
 | 
					import 'package:inventree/api.dart';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@ import 'package:flutter/cupertino.dart';
 | 
				
			|||||||
import 'package:flutter/material.dart';
 | 
					import 'package:flutter/material.dart';
 | 
				
			||||||
import 'package:flutter/services.dart';
 | 
					import 'package:flutter/services.dart';
 | 
				
			||||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
 | 
					import 'package:font_awesome_flutter/font_awesome_flutter.dart';
 | 
				
			||||||
import 'package:package_info/package_info.dart';
 | 
					import 'package:package_info_plus/package_info_plus.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'package:inventree/l10.dart';
 | 
					import 'package:inventree/l10.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@ import 'package:url_launcher/url_launcher.dart';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import 'login.dart';
 | 
					import 'login.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'package:package_info/package_info.dart';
 | 
					import 'package:package_info_plus/package_info_plus.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class InvenTreeSettingsWidget extends StatefulWidget {
 | 
					class InvenTreeSettingsWidget extends StatefulWidget {
 | 
				
			||||||
  // InvenTree settings view
 | 
					  // InvenTree settings view
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										59
									
								
								pubspec.lock
									
									
									
									
									
								
							
							
						
						
									
										59
									
								
								pubspec.lock
									
									
									
									
									
								
							@@ -113,20 +113,48 @@ packages:
 | 
				
			|||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.0.3"
 | 
					    version: "1.0.3"
 | 
				
			||||||
  device_info:
 | 
					  device_info_plus:
 | 
				
			||||||
    dependency: "direct main"
 | 
					    dependency: "direct main"
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
      name: device_info
 | 
					      name: device_info_plus
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "2.0.2"
 | 
					    version: "2.1.0"
 | 
				
			||||||
  device_info_platform_interface:
 | 
					  device_info_plus_linux:
 | 
				
			||||||
    dependency: transitive
 | 
					    dependency: transitive
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
      name: device_info_platform_interface
 | 
					      name: device_info_plus_linux
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "2.0.1"
 | 
					    version: "2.1.0"
 | 
				
			||||||
 | 
					  device_info_plus_macos:
 | 
				
			||||||
 | 
					    dependency: transitive
 | 
				
			||||||
 | 
					    description:
 | 
				
			||||||
 | 
					      name: device_info_plus_macos
 | 
				
			||||||
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
 | 
					    source: hosted
 | 
				
			||||||
 | 
					    version: "2.1.0"
 | 
				
			||||||
 | 
					  device_info_plus_platform_interface:
 | 
				
			||||||
 | 
					    dependency: transitive
 | 
				
			||||||
 | 
					    description:
 | 
				
			||||||
 | 
					      name: device_info_plus_platform_interface
 | 
				
			||||||
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
 | 
					    source: hosted
 | 
				
			||||||
 | 
					    version: "2.1.0"
 | 
				
			||||||
 | 
					  device_info_plus_web:
 | 
				
			||||||
 | 
					    dependency: transitive
 | 
				
			||||||
 | 
					    description:
 | 
				
			||||||
 | 
					      name: device_info_plus_web
 | 
				
			||||||
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
 | 
					    source: hosted
 | 
				
			||||||
 | 
					    version: "2.1.0"
 | 
				
			||||||
 | 
					  device_info_plus_windows:
 | 
				
			||||||
 | 
					    dependency: transitive
 | 
				
			||||||
 | 
					    description:
 | 
				
			||||||
 | 
					      name: device_info_plus_windows
 | 
				
			||||||
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
 | 
					    source: hosted
 | 
				
			||||||
 | 
					    version: "2.1.0"
 | 
				
			||||||
  dropdown_search:
 | 
					  dropdown_search:
 | 
				
			||||||
    dependency: "direct main"
 | 
					    dependency: "direct main"
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
@@ -322,27 +350,20 @@ packages:
 | 
				
			|||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.1.0"
 | 
					    version: "1.1.0"
 | 
				
			||||||
  package_info:
 | 
					 | 
				
			||||||
    dependency: "direct main"
 | 
					 | 
				
			||||||
    description:
 | 
					 | 
				
			||||||
      name: package_info
 | 
					 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					 | 
				
			||||||
    source: hosted
 | 
					 | 
				
			||||||
    version: "2.0.2"
 | 
					 | 
				
			||||||
  package_info_plus:
 | 
					  package_info_plus:
 | 
				
			||||||
    dependency: transitive
 | 
					    dependency: "direct main"
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
      name: package_info_plus
 | 
					      name: package_info_plus
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.0.3"
 | 
					    version: "1.0.4"
 | 
				
			||||||
  package_info_plus_linux:
 | 
					  package_info_plus_linux:
 | 
				
			||||||
    dependency: transitive
 | 
					    dependency: transitive
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
      name: package_info_plus_linux
 | 
					      name: package_info_plus_linux
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.0.2"
 | 
					    version: "1.0.3"
 | 
				
			||||||
  package_info_plus_macos:
 | 
					  package_info_plus_macos:
 | 
				
			||||||
    dependency: transitive
 | 
					    dependency: transitive
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
@@ -356,21 +377,21 @@ packages:
 | 
				
			|||||||
      name: package_info_plus_platform_interface
 | 
					      name: package_info_plus_platform_interface
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.0.1"
 | 
					    version: "1.0.2"
 | 
				
			||||||
  package_info_plus_web:
 | 
					  package_info_plus_web:
 | 
				
			||||||
    dependency: transitive
 | 
					    dependency: transitive
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
      name: package_info_plus_web
 | 
					      name: package_info_plus_web
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.0.2"
 | 
					    version: "1.0.3"
 | 
				
			||||||
  package_info_plus_windows:
 | 
					  package_info_plus_windows:
 | 
				
			||||||
    dependency: transitive
 | 
					    dependency: transitive
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
      name: package_info_plus_windows
 | 
					      name: package_info_plus_windows
 | 
				
			||||||
      url: "https://pub.dartlang.org"
 | 
					      url: "https://pub.dartlang.org"
 | 
				
			||||||
    source: hosted
 | 
					    source: hosted
 | 
				
			||||||
    version: "1.0.2"
 | 
					    version: "1.0.3"
 | 
				
			||||||
  path:
 | 
					  path:
 | 
				
			||||||
    dependency: "direct main"
 | 
					    dependency: "direct main"
 | 
				
			||||||
    description:
 | 
					    description:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,8 +25,8 @@ dependencies:
 | 
				
			|||||||
  http: ^0.13.0
 | 
					  http: ^0.13.0
 | 
				
			||||||
  cached_network_image: ^3.0.0            # Download and cache remote images
 | 
					  cached_network_image: ^3.0.0            # Download and cache remote images
 | 
				
			||||||
  qr_code_scanner: ^0.5.1                 # Barcode scanning
 | 
					  qr_code_scanner: ^0.5.1                 # Barcode scanning
 | 
				
			||||||
  package_info: ^2.0.0                    # App information introspection
 | 
					  package_info_plus: ^1.0.4               # App information introspection
 | 
				
			||||||
  device_info: ^2.0.0                     # Information about the device
 | 
					  device_info_plus: ^2.1.0                # Information about the device
 | 
				
			||||||
  font_awesome_flutter: ^9.1.0            # FontAwesome icon set
 | 
					  font_awesome_flutter: ^9.1.0            # FontAwesome icon set
 | 
				
			||||||
  flutter_speed_dial: ^3.0.5              # FAB menu elements
 | 
					  flutter_speed_dial: ^3.0.5              # FAB menu elements
 | 
				
			||||||
  sentry_flutter: 5.0.0                   # Error reporting
 | 
					  sentry_flutter: 5.0.0                   # Error reporting
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user