flutter_debug_logger 1.0.1 copy "flutter_debug_logger: ^1.0.1" to clipboard
flutter_debug_logger: ^1.0.1 copied to clipboard

FlutterDebugLogger is a singleton utility class designed to print neatly formatted and readable JSON responses (especially for debugging HTTP calls) in your Flutter application.

example/example.dart

import 'package:flutter_debug_logger/flutter_debug_logger.dart';

void main() {
  final mockApiResponse = {
    "status": "success",
    "data": {
      "message": "Welcome to Flutter Debug Logger!",
      "user": {"id": 1, "name": "Raihan Sikdar"}
    }
  };

  FlutterDebugLogger.printJsonResponse(
    url: "https://api.example.com/user/info",
    method: "GET",
    tag: "UserAPI",
    statusCode: 200,
    responseBody: mockApiResponse,
  );
}
12
likes
0
points
17
downloads

Publisher

verified publisherraihansikdar.com

Weekly Downloads

FlutterDebugLogger is a singleton utility class designed to print neatly formatted and readable JSON responses (especially for debugging HTTP calls) in your Flutter application.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_debug_logger