Skip to content
pubscout

thunder

2.0.2, released 10 days ago by themiracle.dev

Flutter debug overlay for real-time inspection of HTTP requests and WebSockets.

WASM-readyUses material_ui
$ flutter pub add thunder
Source repository

What it does

Thunder is a debug overlay for Flutter apps that intercepts and monitors `package:http` requests and `web_socket_channel` WebSockets in real time. It provides a slide-out panel with detailed logs, headers, response views, session timelines, and curl command generation.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to inspect HTTP network traffic and WebSockets directly inside your Flutter app during development
  • You need an easy slide-out debug overlay panel to search and filter network calls

Skip it when

  • You are using a networking library other than package:http or web_socket_channel that doesn't support the provided middleware
  • You need network inspection in production builds (Thunder is intended for debug mode only)

Strengths

  • Monitors both HTTP requests and WebSockets with timeline tracking
  • Includes search, filter, and clear log features
  • Automatically disabled in release builds
  • Platform support across Android, iOS, Web, macOS, Linux, and Windows

Weaknesses

  • Requires Flutter >= 3.47.0 and Dart >= 3.13.0 for version 2.x
  • Limited to package:http-based clients and web_socket_channel

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
4

Add the package to pubspec.yaml, wrap your app root widget with Thunder, and plug Thunder.middleware into your HTTP client.

void main() {
  final client = ApiClient(
    uri: Uri.parse('https://jsonplaceholder.typicode.com'),
    middlewares: <ApiClientMiddleware>[Thunder.middleware],
  );

  runApp(MyApp(client: client));
}

class MyApp extends StatelessWidget {
  const MyApp({required this.client, super.key});
  final ApiClient client;

  @override
  Widget build(BuildContext context) => MaterialApp(
    title: 'My App',
    home: const HomePage(),
    builder: (context, child) => Thunder(child: child ?? const SizedBox.shrink()),
  );
}

Alternatives

Packages that do the same job and could replace thunder.

  • ispect

    In-app observability and QA diagnostics toolkit with logs, network tracing, and layout inspection.

  • interceptly

    Client-agnostic network and WebSocket inspector for Flutter with overlay UI, replay, and MCP export

  • floating_logger

    A floating widget for real-time API request logging and debugging in Flutter.

  • flutter_alice

    HTTP inspector tool to capture, store, and view requests and responses.

Works with

Packages commonly used together with thunder: ones it builds on, ones built on it, and its own family.