droido 1.1.1 copy "droido: ^1.1.1" to clipboard
droido: ^1.1.1 copied to clipboard

Debug-only network inspector for Flutter. Supports Dio, HTTP, Retrofit. Modern UI, zero release impact.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.1 - 2026-01-12 #

Fixed #

  • Updated dependencies to latest versions for full pub.dev compatibility score
  • Shortened package description for better SEO
  • Fixed lint warning for unnecessary library name

Dependencies #

  • share_plus: ^11.0.0 → ^12.0.0
  • flutter_lints: ^4.0.0 → ^6.0.0
  • freezed: ^3.0.6 → ^3.2.4
  • json_serializable: ^6.8.0 → ^6.11.0

1.1.0 - 2026-01-09 #

Added #

  • Multi-HTTP Client Support - Now works with Dio, HTTP package, and Retrofit
  • Unified init() API - Single initialization function accepts both dio and httpClient parameters
  • navigatorKey parameter - Pass your navigator key to init() for automatic notification tap handling
  • DroidoHttpClient - Wrapper class for intercepting HTTP package requests
  • Droido.httpClient getter - Access the wrapped HTTP client for making requests
  • Retrofit support - Automatic interception when using same Dio instance
  • Share cURL - New share button and Droido.shareCurl() method to share cURL commands via native share sheet
  • Droido.wrapNotificationHandler() - Wrapper for apps using flutter_local_notifications to avoid handler conflicts
  • New example app - Tabbed UI demonstrating all three HTTP clients (Dio, HTTP, Retrofit)

Changed #

  • Droido.init() now accepts optional dio and httpClient parameters (at least one required)
  • Updated README with multi-client usage examples
  • Example app completely rewritten with tabbed interface

Technical #

  • Added http: ^1.2.0 as dependency
  • Added share_plus: ^10.0.0 as dependency
  • Created http_interceptor.dart with DroidoHttpClient class
  • Updated droido_manager.dart for multi-client initialization
  • Added share button to log detail page
  • Updated public API exports in droido.dart

1.0.3 - 2024-11-27 #

Added #

  • docs: add demo screenshots to README

1.0.2 - 2024-11-27 #

Added #

  • Embedded demo walkthrough in README for quick preview

1.0.1 - 2024-11-26 #

Added #

  • Non-dismissable notification by default - Notification now persistent by default (notificationOngoing: true), set to false to allow dismissing
  • Latest-first log ordering - Network logs now display with newest requests at the top for better UX
  • Scroll starts at top - ListView now properly starts at the top showing latest requests, not at bottom
  • Dio-specific clarification - Updated documentation to clearly indicate this package works exclusively with Dio HTTP client

Fixed #

  • Updated intl dependency from ^0.19.0 to ^0.20.0 for latest compatibility
  • Removed explicit meta dependency (now provided by Flutter SDK)
  • Improved pub.dev scoring for dependency compatibility
  • Fixed Android 13+ notification permission request to work automatically
  • Enhanced permission checking logic to avoid redundant requests

Changed #

  • All dependencies now use latest compatible versions
  • Notification permission is now automatically requested on Android 13+ during initialization
  • Notification is now static - Removed periodic updates (no more 5-second polling)
  • Simplified notification message - Changed from dynamic request count to static "Tap to open debug panel"
  • Log order reversed - Latest requests appear first in all views (list, search, filter)

Improved #

  • Better debug logging for permission status
  • More reliable permission detection on all Android versions
  • Reduced battery/CPU usage - No periodic timer running in background
  • Cleaner notification UI - Simple, professional message without changing numbers
  • Better UX - Latest requests immediately visible without scrolling

1.0.0 - 2024-11-26 #

Added #

  • 🎉 Initial release of Droido
  • Network request/response logging via Dio interceptor
  • Persistent notification with tap-to-open functionality
  • Modern white-theme UI with Material Design
  • In-app debug panel with three tabs (Overview, Request, Response)
  • Real-time network log streaming
  • Search and filter functionality for logs
  • Export logs in multiple formats (JSON, HAR, CSV)
  • cURL command generation for any request
  • Detailed request metrics (time, size, duration)
  • Color-coded status indicators and performance metrics
  • Full request/response header and body inspection
  • Formatted JSON display
  • Error tracking with stack traces
  • Configurable log retention and notification settings
  • Clean architecture with SOLID principles
  • Zero release build impact (debug-only, tree-shakable)
  • Comprehensive API documentation

Features #

Core API

  • Droido.init() - Initialize with Dio instance and optional configuration
  • Droido.setNotificationCallback() - Handle notification taps
  • Droido.logs - Access current network logs
  • Droido.logsStream - Subscribe to log updates
  • Droido.searchLogs() - Search logs by query
  • Droido.clearLogs() - Clear all logs
  • Droido.logCount - Get total log count
  • Droido.isInitialized - Check initialization status
  • Droido.dispose() - Clean up resources

Export & Utilities

  • Droido.exportAsJson() - Export logs as JSON
  • Droido.exportAsHar() - Export logs in HAR format
  • Droido.exportAsCsv() - Export logs as CSV
  • Droido.generateCurl() - Generate cURL command

UI Components

  • DroidoPanel - Main debug panel widget
  • NetworkCard - Modern request card with metrics
  • LogDetailPage - Detailed request/response view
  • DesignTokens - Centralized design system

Configuration

  • Customizable via DroidoConfig
  • Max logs limit
  • Notification settings
  • Header/Body inclusion options
  • Body size limits
  • Auto-clear on restart

Technical #

  • Built with Flutter 3.10.0+
  • Dart SDK 3.0.0+
  • Dio 5.4.0+ integration
  • Clean architecture implementation
  • SOLID principles
  • Comprehensive type safety
  • Null-safe codebase
15
likes
160
points
172
downloads

Publisher

verified publisherbrooky.in

Weekly Downloads

Debug-only network inspector for Flutter. Supports Dio, HTTP, Retrofit. Modern UI, zero release impact.

Repository (GitHub)
View/report issues

Topics

#debug #network #inspector #dio #logging

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_local_notifications, freezed_annotation, http, intl, json_annotation, rxdart, share_plus

More

Packages that depend on droido