Skip to content

Commit a0ce50a

Browse files
authored
Merge pull request #861 from Carapacik/deprecate
DecoderBufferCallback is deprecated and DecoderCallback removed
2 parents d153049 + 095f009 commit a0ce50a

File tree

119 files changed

+1762
-1506
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+1762
-1506
lines changed

.editorconfig

Lines changed: 0 additions & 80 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/app_facing_package.yaml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030

3131
# Make sure the stable version of Flutter is available
3232
- uses: subosito/flutter-action@v2
@@ -40,7 +40,7 @@ jobs:
4040

4141
# Run Flutter Format to ensure formatting is valid
4242
- name: Run Flutter Format
43-
run: flutter format --set-exit-if-changed .
43+
run: dart format --set-exit-if-changed .
4444
working-directory: ${{env.source-directory}}
4545

4646
analyze:
@@ -55,7 +55,7 @@ jobs:
5555
# Steps represent a sequence of tasks that will be executed as part of the job
5656
steps:
5757
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v3
5959

6060
# Make sure the stable version of Flutter is available
6161
- uses: subosito/flutter-action@v2
@@ -85,12 +85,13 @@ jobs:
8585
# Steps represent a sequence of tasks that will be executed as part of the job
8686
steps:
8787
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
88-
- uses: actions/checkout@v2
88+
- uses: actions/checkout@v3
8989

9090
# Ensure correct JAVA version is installed.
91-
- uses: actions/setup-java@v1
91+
- uses: actions/setup-java@v3
9292
with:
93-
java-version: '12.x'
93+
distribution: 'zulu'
94+
java-version: '17'
9495

9596
# Make sure the stable version of Flutter is available
9697
- uses: subosito/flutter-action@v2
@@ -120,7 +121,7 @@ jobs:
120121
# Steps represent a sequence of tasks that will be executed as part of the job
121122
steps:
122123
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
123-
- uses: actions/checkout@v2
124+
- uses: actions/checkout@v3
124125

125126
# Make sure the stable version of Flutter is available
126127
- uses: subosito/flutter-action@v2
@@ -150,7 +151,7 @@ jobs:
150151
# Steps represent a sequence of tasks that will be executed as part of the job
151152
steps:
152153
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
153-
- uses: actions/checkout@v2
154+
- uses: actions/checkout@v3
154155

155156
# Make sure the stable version of Flutter is available
156157
- uses: subosito/flutter-action@v2
@@ -185,7 +186,7 @@ jobs:
185186
# Steps represent a sequence of tasks that will be executed as part of the job
186187
steps:
187188
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
188-
- uses: actions/checkout@v2
189+
- uses: actions/checkout@v3
189190

190191
# Make sure the stable version of Flutter is available
191192
- uses: subosito/flutter-action@v2
@@ -224,7 +225,7 @@ jobs:
224225
- run: sudo apt-get install -y ninja-build libgtk-3-dev libblkid-dev
225226

226227
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
227-
- uses: actions/checkout@v2
228+
- uses: actions/checkout@v3
228229

229230
# Make sure the stable version of Flutter is available
230231
- uses: subosito/flutter-action@v2
@@ -264,7 +265,7 @@ jobs:
264265
# Steps represent a sequence of tasks that will be executed as part of the job
265266
steps:
266267
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
267-
- uses: actions/checkout@v2
268+
- uses: actions/checkout@v3
268269

269270
# Make sure the stable version of Flutter is available
270271
- uses: subosito/flutter-action@v2
@@ -292,7 +293,7 @@ jobs:
292293
# Steps represent a sequence of tasks that will be executed as part of the job
293294
steps:
294295
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
295-
- uses: actions/checkout@v2
296+
- uses: actions/checkout@v3
296297

297298
# Make sure the stable version of Flutter is available
298299
- uses: subosito/flutter-action@v2
@@ -310,8 +311,8 @@ jobs:
310311
working-directory: ${{env.source-directory}}
311312

312313
# Upload code coverage information
313-
- uses: codecov/codecov-action@v1
314+
- uses: codecov/codecov-action@v3
314315
with:
315-
file: ${{env.source-directory}}/coverage/lcov.info # optional
316-
name: CachedNetworkImage (App Facing Package) # optional
317-
fail_ci_if_error: true
316+
files: ${{env.source-directory}}/coverage/lcov.info
317+
name: CachedNetworkImage (App Facing Package)
318+
fail_ci_if_error: true

.github/workflows/platform_interface.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030

3131
# Make sure the stable version of Flutter is available
3232
- uses: subosito/flutter-action@v2
@@ -40,7 +40,7 @@ jobs:
4040

4141
# Run Flutter Format to ensure formatting is valid
4242
- name: Run Flutter Format
43-
run: flutter format --set-exit-if-changed .
43+
run: dart format --set-exit-if-changed .
4444
working-directory: ${{env.source-directory}}
4545

4646
analyze:
@@ -55,7 +55,7 @@ jobs:
5555
# Steps represent a sequence of tasks that will be executed as part of the job
5656
steps:
5757
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v3
5959

6060
# Make sure the stable version of Flutter is available
6161
- uses: subosito/flutter-action@v2
@@ -83,7 +83,7 @@ jobs:
8383
# Steps represent a sequence of tasks that will be executed as part of the job
8484
steps:
8585
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
86-
- uses: actions/checkout@v2
86+
- uses: actions/checkout@v3
8787

8888
# Make sure the stable version of Flutter is available
8989
- uses: subosito/flutter-action@v2
@@ -101,8 +101,8 @@ jobs:
101101
working-directory: ${{env.source-directory}}
102102

103103
# Upload code coverage information
104-
- uses: codecov/codecov-action@v1
104+
- uses: codecov/codecov-action@v3
105105
with:
106-
file: ${{env.source-directory}}/coverage/lcov.info # optional
107-
name: CachedNetworkImage (Platform interface) # optional
108-
fail_ci_if_error: true
106+
files: ${{env.source-directory}}/coverage/lcov.info
107+
name: CachedNetworkImage (Platform interface)
108+
fail_ci_if_error: true

.github/workflows/web.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030

3131
# Make sure the stable version of Flutter is available
3232
- uses: subosito/flutter-action@v2
@@ -40,7 +40,7 @@ jobs:
4040

4141
# Run Flutter Format to ensure formatting is valid
4242
- name: Run Flutter Format
43-
run: flutter format --set-exit-if-changed .
43+
run: dart format --set-exit-if-changed .
4444
working-directory: ${{env.source-directory}}
4545

4646
analyze:
@@ -55,7 +55,7 @@ jobs:
5555
# Steps represent a sequence of tasks that will be executed as part of the job
5656
steps:
5757
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v3
5959

6060
# Make sure the stable version of Flutter is available
6161
- uses: subosito/flutter-action@v2
@@ -83,7 +83,7 @@ jobs:
8383
# Steps represent a sequence of tasks that will be executed as part of the job
8484
steps:
8585
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
86-
- uses: actions/checkout@v2
86+
- uses: actions/checkout@v3
8787

8888
# Make sure the stable version of Flutter is available
8989
- uses: subosito/flutter-action@v2
@@ -100,9 +100,9 @@ jobs:
100100
run: flutter test --platform chrome
101101
working-directory: ${{env.source-directory}}
102102

103-
# # Upload code coverage information
104-
# - uses: codecov/codecov-action@v1
105-
# with:
106-
# file: ${{env.source-directory}}/coverage/lcov.info # optional
107-
# name: CachedNetworkImage (Web) # optional
108-
# fail_ci_if_error: true
103+
# # Upload code coverage information
104+
# - uses: codecov/codecov-action@v1
105+
# with:
106+
# files: ${{env.source-directory}}/coverage/lcov.info
107+
# name: CachedNetworkImage (Web)
108+
# fail_ci_if_error: true

cached_network_image/.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
23+
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
**/ios/Flutter/.last_build_id
27+
.dart_tool/
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
30+
.packages
31+
.pub-cache/
32+
.pub/
33+
/build/
34+
35+
# Symbolication related
36+
app.*.symbols
37+
38+
# Obfuscation related
39+
app.*.map.json
40+
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

cached_network_image/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [3.3.0] - TBD
2+
* Add error to ErrorListener
3+
* Update to Dart 3
4+
* Add topics
5+
* Specify types
6+
* Update example
7+
* Remove [`load`](https://github.com/flutter/flutter/pull/132679), use `loadImage` instead `loadBuffer`
8+
19
## [3.2.3] - 2022-11-25
210
* Correctly dispose image stream handler
311

0 commit comments

Comments
 (0)