2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

More refactorign

This commit is contained in:
Oliver Walters 2022-03-29 20:08:05 +11:00
parent 2a6df373c5
commit 52d42c85c8
6 changed files with 12 additions and 13 deletions

View File

@ -66,4 +66,8 @@ linter:
require_trailing_commas: false require_trailing_commas: false
eol_at_end_of_file: false eol_at_end_of_file: false
avoid_dynamic_calls: false
body_might_complete_normally_nullable: false

View File

@ -1,4 +1,4 @@
import "dart:ui";
import "dart:io"; import "dart:io";
import "package:intl/intl.dart"; import "package:intl/intl.dart";

View File

@ -1,9 +1,7 @@
/*
* Class for InvenTree user / login details
*/
import "package:sembast/sembast.dart"; import "package:sembast/sembast.dart";
import "preferences.dart";
import "package:inventree/preferences.dart";
class UserProfile { class UserProfile {

View File

@ -70,9 +70,7 @@ class PaginatedSearchState<T extends StatefulWidget> extends State<T> {
if (page != null) { if (page != null) {
for (var result in page.results) { for (var result in page.results) {
if (result is InvenTreeModel) {
items.add(result); items.add(result);
}
} }
} }

View File

@ -231,7 +231,7 @@ packages:
source: hosted source: hosted
version: "0.6.4" version: "0.6.4"
flutter_cache_manager: flutter_cache_manager:
dependency: transitive dependency: "direct main"
description: description:
name: flutter_cache_manager name: flutter_cache_manager
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
@ -279,7 +279,7 @@ packages:
name: font_awesome_flutter name: font_awesome_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "10.1.0" version: "9.2.0"
http: http:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -29,10 +29,9 @@ dependencies:
device_info_plus: ^3.2.2 # Information about the device device_info_plus: ^3.2.2 # Information about the device
dropdown_search: ^0.6.3 # Dropdown autocomplete form fields dropdown_search: ^0.6.3 # Dropdown autocomplete form fields
file_picker: ^4.5.1 # Select files from the device file_picker: ^4.5.1 # Select files from the device
flutter_cache_manager: ^3.3.0
flutter_markdown: ^0.6.9 # Rendering markdown flutter_markdown: ^0.6.9 # Rendering markdown
font_awesome_flutter: ^10.1.0 # FontAwesome icon set font_awesome_flutter: ^9.1.0 # FontAwesome icon set
http: ^0.13.4 http: ^0.13.4
image_picker: ^0.8.3 # Select or take photos image_picker: ^0.8.3 # Select or take photos
infinite_scroll_pagination: ^3.1.0 # Let the server do all the work! infinite_scroll_pagination: ^3.1.0 # Let the server do all the work!