mocks/real_network_http_client library

Functions

createRealNetworkHttpClient([SecurityContext? context]) → HttpClient
Creates a platform HttpClient without consulting Flutter's current HttpOverrides. Widget-test bindings replace HttpClient requests with fake responses, including inside callbacks dispatched through platform channels. Runner-owned Firebase bridges need actual network traffic instead.
runWithRealNetworkHttpClient<T>(Future<T> callback()) → Future<T>
Runs package:http convenience calls and dart:io calls with real clients.