From e857cfba1aea37925ef7f6f7c8a9d4858066fb7b Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 2 Nov 2023 10:23:44 -0700 Subject: [PATCH] Name the import to make it's usage more clear --- pkgs/flutter_http_example/lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/flutter_http_example/lib/main.dart b/pkgs/flutter_http_example/lib/main.dart index e2d2a4441a..f9dd6f04ca 100644 --- a/pkgs/flutter_http_example/lib/main.dart +++ b/pkgs/flutter_http_example/lib/main.dart @@ -10,10 +10,10 @@ import 'package:http/http.dart'; import 'book.dart'; import 'http_client_factory.dart' - if (dart.library.html) 'http_client_factory_web.dart'; + if (dart.library.html) 'http_client_factory_web.dart' as http_factory; void main() { - runWithClient(() => runApp(const BookSearchApp()), httpClient); + runWithClient(() => runApp(const BookSearchApp()), http_factory.httpClient); } class BookSearchApp extends StatelessWidget {