network_capture 1.1.9 network_capture: ^1.1.9 copied to clipboard
Flutter developer、test network debugging tools, Easily view HTTPS requests
Flutter Network Capture #
Flutter developer、test network debugging tools,Easily view HTTPS requests #
Note
If you want to copy the content, you can try double tap or long pressing.
Usage #
- Add dependencies latest_version
dependencies:
network_capture: ^latest_version
copied to clipboard
- Change your App to
NetworkCaptureApp
void main() {
runApp(NetworkCaptureApp(
enable: true,
navigatorKey: navigatorKey,
child: const MyApp(),
));
}
copied to clipboard
- Add
CaptureDioInterceptor
to Dio interceptors
dio.interceptors.add(CaptureDioInterceptor());
copied to clipboard