File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/src/layer/tile_layer/tile_provider Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class MapNetworkImageProvider extends ImageProvider<MapNetworkImageProvider> {
3232 /// The HTTP client to use to make network requests
3333 ///
3434 /// Not included in [operator==] .
35- final BaseClient httpClient;
35+ final Client httpClient;
3636
3737 /// Whether to ignore exceptions and errors that occur whilst fetching tiles
3838 /// over the network, and just return a transparent tile
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class NetworkTileProvider extends TileProvider {
3434 /// [not yet supported in Dart] (https://github.com/dart-lang/http/issues/424).
3535 NetworkTileProvider ({
3636 super .headers,
37- BaseClient ? httpClient,
37+ Client ? httpClient,
3838 this .silenceExceptions = false ,
3939 }) : _httpClient = httpClient ?? RetryClient (Client ());
4040
@@ -45,7 +45,7 @@ class NetworkTileProvider extends TileProvider {
4545 /// Long living client used to make all tile requests by
4646 /// [MapNetworkImageProvider] for the duration that this provider is
4747 /// alive
48- final BaseClient _httpClient;
48+ final Client _httpClient;
4949
5050 /// Each [Completer] is completed once the corresponding tile has finished
5151 /// loading
You can’t perform that action at this time.
0 commit comments