Skip to content

Commit

Permalink
Upgrade to http_image_provider: 0.0.3 (dart-lang#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan authored Jul 2, 2024
1 parent 75b1efb commit 719dc5f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkgs/cronet_http/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class _BookListState extends State<BookList> {
key: ValueKey(widget.books[index].title),
child: ListTile(
leading: Image(
image: HttpImage(
image: HttpImageProvider(
widget.books[index].imageUrl.replace(scheme: 'https'),
client: context.read<Client>())),
title: Text(widget.books[index].title),
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cronet_http/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cupertino_http/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class _BookListState extends State<BookList> {
key: ValueKey(widget.books[index].title),
child: ListTile(
leading: Image(
image: HttpImage(
image: HttpImageProvider(
widget.books[index].imageUrl.replace(scheme: 'https'),
client: context.read<Client>())),
title: Text(widget.books[index].title),
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cupertino_http/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/flutter_http_example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class _BookListState extends State<BookList> {
key: ValueKey(widget.books[index].title),
child: ListTile(
leading: Image(
image: HttpImage(
image: HttpImageProvider(
widget.books[index].imageUrl.replace(scheme: 'https'),
client: context.read<Client>())),
title: Text(widget.books[index].title),
Expand Down
2 changes: 1 addition & 1 deletion pkgs/flutter_http_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ok_http/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class _BookListState extends State<BookList> {
key: ValueKey(widget.books[index].title),
child: ListTile(
leading: Image(
image: HttpImage(
image: HttpImageProvider(
widget.books[index].imageUrl.replace(scheme: 'https'),
client: context.read<Client>())),
title: Text(widget.books[index].title),
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ok_http/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 719dc5f

Please sign in to comment.