debugNetworkImageHttpClientProvider top-level property
read / write
Provider from which NetworkImage will get its HttpClient in debug builds.
If this value is unset, NetworkImage will use its own internally-managed HttpClient.
This setting can be overridden for testing to ensure that each test receives a mock client that hasn't been affected by other tests.
This value is ignored in non-debug builds.