File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- ## NEXT
1
+ ## 4.1.10
2
2
3
+ * Fixes image asset link to use image within package.
3
4
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
4
5
5
6
## 4.1.9
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ class MyApp extends StatelessWidget {
13
13
const MyApp ({super .key});
14
14
15
15
/// Returns the URL to load an asset from this example app as a network source.
16
- // TODO(nitinpoojary): Change it to use an image within this package.
17
- String getUrlFromAssetAsNetworkSource () {
18
- return 'https://github.com/flutter/packages/blob/2e1673307ff7454aff40b47024eaed49a9e77e81/packages/flutter_markdown/example/assets/logo.png' ;
16
+ String getUrlForAssetAsNetworkSource (String assetKey) {
17
+ return 'https://github.com/flutter/packages/blob/b96a6dae0ca418cf1e91633f275866aa9cffe437/packages/flutter_image/example/$assetKey ?raw=true' ;
19
18
}
20
19
21
20
@override
22
21
Widget build (BuildContext context) {
23
- final String imageUrl = getUrlFromAssetAsNetworkSource ();
22
+ final String imageUrl =
23
+ getUrlForAssetAsNetworkSource ('assets/flutter-mark-square-64.png' );
24
24
25
25
return MaterialApp (
26
26
title: 'flutter_image example app' ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: >
3
3
Image utilities for Flutter: improved network providers, effects, etc.
4
4
repository : https://github.com/flutter/packages/tree/main/packages/flutter_image
5
5
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_image%22
6
- version : 4.1.9
6
+ version : 4.1.10
7
7
8
8
environment :
9
9
sdk : " >=3.0.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments