From c4f3bf0d0366e01093b575ff76a1d17a7cb26e8c Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Mon, 1 Jul 2024 13:10:57 -0700 Subject: [PATCH] Upgrade to http_image_provider: 0.0.3 --- pkgs/cronet_http/example/lib/main.dart | 2 +- pkgs/cronet_http/example/pubspec.yaml | 2 +- pkgs/cupertino_http/example/lib/main.dart | 2 +- pkgs/cupertino_http/example/pubspec.yaml | 2 +- pkgs/flutter_http_example/lib/main.dart | 2 +- pkgs/flutter_http_example/pubspec.yaml | 2 +- pkgs/ok_http/example/lib/main.dart | 2 +- pkgs/ok_http/example/pubspec.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/cronet_http/example/lib/main.dart b/pkgs/cronet_http/example/lib/main.dart index 1af8e9203f..62990e337d 100644 --- a/pkgs/cronet_http/example/lib/main.dart +++ b/pkgs/cronet_http/example/lib/main.dart @@ -142,7 +142,7 @@ class _BookListState extends State { key: ValueKey(widget.books[index].title), child: ListTile( leading: Image( - image: HttpImage( + image: HttpImageProvider( widget.books[index].imageUrl.replace(scheme: 'https'), client: context.read())), title: Text(widget.books[index].title), diff --git a/pkgs/cronet_http/example/pubspec.yaml b/pkgs/cronet_http/example/pubspec.yaml index 5d94a3944e..a2ed4b03cb 100644 --- a/pkgs/cronet_http/example/pubspec.yaml +++ b/pkgs/cronet_http/example/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: flutter: sdk: flutter http: ^1.0.0 - http_image_provider: ^0.0.2 + http_image_provider: ^0.0.3 provider: ^6.1.1 dev_dependencies: diff --git a/pkgs/cupertino_http/example/lib/main.dart b/pkgs/cupertino_http/example/lib/main.dart index 24436ea052..78fcb9c8ad 100644 --- a/pkgs/cupertino_http/example/lib/main.dart +++ b/pkgs/cupertino_http/example/lib/main.dart @@ -141,7 +141,7 @@ class _BookListState extends State { key: ValueKey(widget.books[index].title), child: ListTile( leading: Image( - image: HttpImage( + image: HttpImageProvider( widget.books[index].imageUrl.replace(scheme: 'https'), client: context.read())), title: Text(widget.books[index].title), diff --git a/pkgs/cupertino_http/example/pubspec.yaml b/pkgs/cupertino_http/example/pubspec.yaml index a57f39fd05..b074234bff 100644 --- a/pkgs/cupertino_http/example/pubspec.yaml +++ b/pkgs/cupertino_http/example/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: flutter: sdk: flutter http: ^1.0.0 - http_image_provider: ^0.0.2 + http_image_provider: ^0.0.3 provider: ^6.1.1 dev_dependencies: diff --git a/pkgs/flutter_http_example/lib/main.dart b/pkgs/flutter_http_example/lib/main.dart index 13d8bc24d8..899105b227 100644 --- a/pkgs/flutter_http_example/lib/main.dart +++ b/pkgs/flutter_http_example/lib/main.dart @@ -138,7 +138,7 @@ class _BookListState extends State { key: ValueKey(widget.books[index].title), child: ListTile( leading: Image( - image: HttpImage( + image: HttpImageProvider( widget.books[index].imageUrl.replace(scheme: 'https'), client: context.read())), title: Text(widget.books[index].title), diff --git a/pkgs/flutter_http_example/pubspec.yaml b/pkgs/flutter_http_example/pubspec.yaml index b3b3ef50f7..272f50d854 100644 --- a/pkgs/flutter_http_example/pubspec.yaml +++ b/pkgs/flutter_http_example/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: flutter: sdk: flutter http: ^1.0.0 - http_image_provider: ^0.0.2 + http_image_provider: ^0.0.3 provider: ^6.0.5 dev_dependencies: diff --git a/pkgs/ok_http/example/lib/main.dart b/pkgs/ok_http/example/lib/main.dart index 0fd1807ea0..e8177895ec 100644 --- a/pkgs/ok_http/example/lib/main.dart +++ b/pkgs/ok_http/example/lib/main.dart @@ -138,7 +138,7 @@ class _BookListState extends State { key: ValueKey(widget.books[index].title), child: ListTile( leading: Image( - image: HttpImage( + image: HttpImageProvider( widget.books[index].imageUrl.replace(scheme: 'https'), client: context.read())), title: Text(widget.books[index].title), diff --git a/pkgs/ok_http/example/pubspec.yaml b/pkgs/ok_http/example/pubspec.yaml index 313cd2bbda..f7c9dc1ecb 100644 --- a/pkgs/ok_http/example/pubspec.yaml +++ b/pkgs/ok_http/example/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: flutter: sdk: flutter http: ^1.0.0 - http_image_provider: ^0.0.2 + http_image_provider: ^0.0.3 ok_http: path: ../ provider: ^6.1.1