api_studio 1.0.5 copy "api_studio: ^1.0.5" to clipboard
api_studio: ^1.0.5 copied to clipboard

A powerful in-app API debugging and inspection tool for Flutter. Supports Dio interception, persistent logs, edit-and-run, CURL export, and a beautiful inspector dashboard.

Changelog #

5 #

✨ Added #

  • ApiStudio.showNavigation(context) as a single entry point for API Logs, Performance, and File Explorer through a unified floating bottom navigation bar.
  • baseUrl and enableApiClient parameters on ApiStudio.initialize() for unified API Client configuration.
  • ApiStudio.isInitialized, ApiStudio.isApiClientEnabled, and ApiStudio.configuredBaseUrl for configuration introspection.
  • Optional aggregated remote performance telemetry through enablePerformanceMonitoring, uploaded at most once per hour with a persisted upload timestamp and the existing API logging credentials.
  • enablePerformanceMonitoring configuration on ApiStudio.initialize(), defaulting to false.

🔄 Changed #

  • Reduced package dependencies and removed unnecessary runtime integrations to keep API Studio lightweight.
  • Performance monitoring is fully opt-in and remains inactive during API logging, automatic log upload, navigation initialization, and API Logs usage.
  • Disabling Performance now removes frame callbacks, timers, subscriptions, active state, and retained performance samples.
  • Frame and memory histories use bounded retention, with lower-frequency memory sampling and aggregated frame chart samples.
  • API request and response payload retention and pending remote-log queues are bounded to prevent avoidable memory growth.
  • Performance sections update independently to avoid rebuilding the complete inspector for every metric change.
  • DiService.init() skips API Client logger infrastructure when enableApiClient is disabled.
  • Jank history uses a fixed-height, horizontally scrollable bar chart.

⚠️ Deprecated #

  • ApiStudio.initClient(). Use ApiStudio.initialize(baseUrl: ..., enableApiClient: true) instead. The existing API remains available for backward compatibility.
9
likes
145
points
395
downloads

Documentation

API reference

Publisher

verified publisherapistudio.cloud

Weekly Downloads

A powerful in-app API debugging and inspection tool for Flutter. Supports Dio interception, persistent logs, edit-and-run, CURL export, and a beautiful inspector dashboard.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

equatable, flutter, hive, hive_flutter, path_provider, share_plus, web

More

Packages that depend on api_studio