Digia Inspector

Flutter Dart License Documentation style: very good analysis

Digia Inspector is a comprehensive debug console for Flutter applications, providing real-time monitoring of network requests, state changes, and application events with an intuitive Chrome DevTools-like UI.

πŸš€ Overview

Digia Inspector offers powerful debugging capabilities for Flutter apps, featuring:

  • πŸ“‘ Network Monitoring - Track HTTP requests, responses, and errors with detailed information
  • πŸ” State Inspection - Monitor state changes across your application in real-time
  • ⚑ Action Logging - Track user actions and application events with execution timing
  • πŸ–₯️ Cross-Platform UI - Adaptive interface optimized for both web and mobile platforms

Perfect for debugging Digia UI applications or any Flutter app that needs comprehensive observability.

πŸ“¦ Installation

Add Digia Inspector Core to your pubspec.yaml:

dependencies:
  digia_inspector: ^1.0.0

Or use the Flutter CLI:

flutter pub add digia_inspector

Run:

flutter pub get

🏁 Quick Start

1. Initialize the Inspector Controller

import 'package:digia_inspector/digia_inspector.dart';

class _MyAppState extends State<MyApp> {
  late final InspectorController _inspectorController;

  @override
  void initState() {
    super.initState();
    _inspectorController = InspectorController();
  }

  @override
  void dispose() {
    _inspectorController.dispose();
    super.dispose();
  }
}

2. Add Network Monitoring (Dio Integration)

import 'package:dio/dio.dart';

final dio = Dio();

// Add the Digia Dio interceptor for automatic network logging
dio.interceptors.add(DigiaDioInterceptor(controller: _inspectorController));

3. Show the Inspector Console

void _showDigiaInspector() {
    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) =>
            InspectorConsole(controller: _inspectorController),
      ),
    );
}

🎯 Integration with Digia UI

Digia Inspector is designed to work seamlessly with Digia UI applications, automatically capturing:

  • Server-driven UI state changes
  • Network requests to Digia Studio APIs
  • State lifecycle events
  • Action logs

πŸ“„ License

This project is licensed under the Business Source License 1.1 (BSL 1.1) - see the LICENSE file for details. The BSL 1.1 allows personal and commercial use with certain restrictions around competing platforms. On September 17, 2029, the license will automatically convert to Apache License 2.0.

For commercial licensing inquiries or exceptions, please contact admin@digia.tech.

πŸ†˜ Support


Built with ❀️ by the Digia team

Libraries

digia_inspector
A unified debug inspector for Digia apps