Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jul 2, 2024
1 parent 75b1efb commit ad9fb18
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ad9fb18

Please sign in to comment.