digia_inspector 1.0.0
digia_inspector: ^1.0.0 copied to clipboard
A comprehensive debug console for Digia applications, providing real-time logging of network requests, state changes, and application events with an intuitive UI.
Digia Inspector #
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 #
- π Documentation
- π¬ Community
- π Issue Tracker
- π§ Contact Support
Built with β€οΈ by the Digia team