dio_network_logger

Creator: coderz1093

Last updated:

0 purchases

dio_network_logger Image
dio_network_logger Images

Languages

Categories

Add to Cart

Description:

dio network logger

Dio Network Logger #
Simple dio network logger to inspect http request, this package was modified from current dio logger package . Added some utilities to make logging more easy.
🌌 Previews #



Home
History
Request
Response











🔎 Features #

Search log
Readable json with JsonViewer
Share log through clipboard

🚀 Getting Started #

Install dio_network_logger with this command flutter pub add dio_network_logger
Add DioNetworkLogger interceptor to the Dio client dio.interceptors.add(DioNetworkLogger());

final String url = 'https://jsonplaceholder.typicode.com';
final Dio dio = BaseOptions(baseUrl: url);
dio.interceptors.add(DioNetworkLogger());
copied to clipboard

Attach network logger overlay button to UI.

@override
void initState() {
super.initState();
NetworkLoggerOverlay.attachTo(context);
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.