Skip to content

Commit 379171a

Browse files
committed
TF-2646 Add dependency package_info_plus & file_picker direct main to avoid warning import
1 parent 8d34f01 commit 379171a

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
class AssetsPaths {
22
static const images = 'assets/images/';
3-
static const icons = 'assets/icons/';
43
static const configurationImages = 'configurations/icons/';
54
}

core/lib/presentation/resources/image_paths.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@ class ImagePaths {
216216
return AssetsPaths.images + imageName;
217217
}
218218

219-
String _getIconPath(String iconName) {
220-
return AssetsPaths.icons + iconName;
221-
}
222-
223219
String getConfigurationImagePath(String imageName) {
224220
return AssetsPaths.configurationImages + imageName;
225221
}

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ packages:
505505
source: hosted
506506
version: "6.1.4"
507507
file_picker:
508-
dependency: "direct overridden"
508+
dependency: "direct main"
509509
description:
510510
path: "."
511511
ref: "email_supported_5.3.1"
@@ -1256,7 +1256,7 @@ packages:
12561256
source: hosted
12571257
version: "2.1.0"
12581258
package_info_plus:
1259-
dependency: transitive
1259+
dependency: "direct main"
12601260
description:
12611261
name: package_info_plus
12621262
sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017"

pubspec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ dependencies:
232232

233233
future_loading_dialog: 0.3.0
234234

235+
package_info_plus: 4.2.0
236+
237+
file_picker: 5.3.1
238+
235239
dev_dependencies:
236240
flutter_test:
237241
sdk: flutter

0 commit comments

Comments
 (0)