Skip to content

Commit 3aa24ce

Browse files
committed
Fixing The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'
1 parent ef64fed commit 3aa24ce

File tree

7 files changed

+68
-11
lines changed

7 files changed

+68
-11
lines changed

.flutter-plugins-dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"cloud_firestore","dependencies":["firebase_core"]},{"name":"firebase_auth","dependencies":["firebase_core"]},{"name":"firebase_core","dependencies":[]},{"name":"firebase_messaging","dependencies":[]},{"name":"firebase_storage","dependencies":["firebase_core"]},{"name":"flutter_local_notifications","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"google_sign_in","dependencies":[]},{"name":"image_picker","dependencies":[]},{"name":"path_provider","dependencies":[]},{"name":"shared_preferences","dependencies":[]},{"name":"sqflite","dependencies":[]}]}

android/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
3-
android.enableJetifier=true
3+
android.enableJetifier=true
4+
android.enableR8=true

ios/Flutter/Flutter.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# NOTE: This podspec is NOT to be published. It is only used as a local source!
3+
#
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'Flutter'
7+
s.version = '1.0.0'
8+
s.summary = 'High-performance, high-fidelity mobile apps.'
9+
s.description = <<-DESC
10+
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
11+
DESC
12+
s.homepage = 'https://flutter.io'
13+
s.license = { :type => 'MIT' }
14+
s.author = { 'Flutter Dev Team' => '[email protected]' }
15+
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
16+
s.ios.deployment_target = '8.0'
17+
s.vendored_frameworks = 'Flutter.framework'
18+
end

ios/Flutter/flutter_export_environment.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ export "FLUTTER_TARGET=/Users/tranquangduy/Documents/Flutter/flutter-chat-demo/l
66
export "FLUTTER_BUILD_DIR=build"
77
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
88
export "FLUTTER_FRAMEWORK_DIR=/Users/tranquangduy/Documents/Flutter/flutter/bin/cache/artifacts/engine/ios"
9+
export "FLUTTER_BUILD_NAME=1.0.0"
10+
export "FLUTTER_BUILD_NUMBER=1"
911
export "TRACK_WIDGET_CREATION=true"

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ DEPENDENCIES:
201201
- sqflite (from `.symlinks/plugins/sqflite/ios`)
202202

203203
SPEC REPOS:
204-
https://github.com/cocoapods/specs.git:
204+
https://github.com/CocoaPods/Specs.git:
205205
- BoringSSL-GRPC
206206
- Firebase
207207
- FirebaseAnalytics
@@ -300,4 +300,4 @@ SPEC CHECKSUMS:
300300

301301
PODFILE CHECKSUM: 348e15598a1c6ea25d3ed63919d5ffb9bd1c2ba6
302302

303-
COCOAPODS: 1.7.5
303+
COCOAPODS: 1.8.4

pubspec.lock

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4+
archive:
5+
dependency: transitive
6+
description:
7+
name: archive
8+
url: "https://pub.dartlang.org"
9+
source: hosted
10+
version: "2.0.11"
11+
args:
12+
dependency: transitive
13+
description:
14+
name: args
15+
url: "https://pub.dartlang.org"
16+
source: hosted
17+
version: "1.5.2"
418
async:
519
dependency: transitive
620
description:
721
name: async
822
url: "https://pub.dartlang.org"
923
source: hosted
10-
version: "2.3.0"
24+
version: "2.4.0"
1125
boolean_selector:
1226
dependency: transitive
1327
description:
@@ -21,7 +35,7 @@ packages:
2135
name: cached_network_image
2236
url: "https://pub.dartlang.org"
2337
source: hosted
24-
version: "1.1.1"
38+
version: "2.0.0-rc.1"
2539
charcode:
2640
dependency: transitive
2741
description:
@@ -103,7 +117,7 @@ packages:
103117
name: flutter_cache_manager
104118
url: "https://pub.dartlang.org"
105119
source: hosted
106-
version: "1.1.1"
120+
version: "1.1.3"
107121
flutter_local_notifications:
108122
dependency: "direct main"
109123
description:
@@ -144,6 +158,13 @@ packages:
144158
url: "https://pub.dartlang.org"
145159
source: hosted
146160
version: "3.1.3"
161+
image:
162+
dependency: transitive
163+
description:
164+
name: image
165+
url: "https://pub.dartlang.org"
166+
source: hosted
167+
version: "2.1.4"
147168
image_picker:
148169
dependency: "direct main"
149170
description:
@@ -164,14 +185,14 @@ packages:
164185
name: matcher
165186
url: "https://pub.dartlang.org"
166187
source: hosted
167-
version: "0.12.5"
188+
version: "0.12.6"
168189
meta:
169190
dependency: transitive
170191
description:
171192
name: meta
172193
url: "https://pub.dartlang.org"
173194
source: hosted
174-
version: "1.1.7"
195+
version: "1.1.8"
175196
path:
176197
dependency: transitive
177198
description:
@@ -193,6 +214,13 @@ packages:
193214
url: "https://pub.dartlang.org"
194215
source: hosted
195216
version: "1.8.0+1"
217+
petitparser:
218+
dependency: transitive
219+
description:
220+
name: petitparser
221+
url: "https://pub.dartlang.org"
222+
source: hosted
223+
version: "2.4.0"
196224
photo_view:
197225
dependency: "direct main"
198226
description:
@@ -281,7 +309,7 @@ packages:
281309
name: test_api
282310
url: "https://pub.dartlang.org"
283311
source: hosted
284-
version: "0.2.5"
312+
version: "0.2.11"
285313
typed_data:
286314
dependency: transitive
287315
description:
@@ -303,6 +331,13 @@ packages:
303331
url: "https://pub.dartlang.org"
304332
source: hosted
305333
version: "2.0.8"
334+
xml:
335+
dependency: transitive
336+
description:
337+
name: xml
338+
url: "https://pub.dartlang.org"
339+
source: hosted
340+
version: "3.5.0"
306341
sdks:
307342
dart: ">=2.5.0 <3.0.0"
308-
flutter: ">=1.9.1 <2.0.0"
343+
flutter: ">=1.10.15-pre.148 <2.0.0"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
image_picker: ^0.6.1+8
1414
shared_preferences: ^0.5.3+4
1515
firebase_storage: ^3.0.6
16-
cached_network_image: ^1.1.1
16+
cached_network_image: 2.0.0-rc.1
1717
intl: ^0.15.7
1818
firebase_messaging: ^5.1.6
1919
flutter_local_notifications: ^0.8.4

0 commit comments

Comments
 (0)