这是indexloc提供的服务,不要输入任何密码

api_sentinel 0.0.4 copy "api_sentinel: ^0.0.4" to clipboard
api_sentinel: ^0.0.4 copied to clipboard

A lightweight Dio-powered API service for Flutter that automatically logs requests

Changelog #

0.0.4 #

  • Add header option to api service

0.0.3 #

  • Add Filter for log pages
  • Add attach to side draggable and expandable overlay
  • Not showing overlay in debug page

0.0.2 #

Format code for pub.dev

0.0.1 #

Initial release of the package

  • Introduced a centralized API service with:

    • Unified GET, POST, PUT, PATCH, and DELETE request handling
    • Built-in error catching (DioException & general exceptions)
    • Custom success and failure callbacks
  • Added a floating draggable debug overlay for real-time API inspection

    • View logs, request bodies, and responses directly in-app
    • Includes JSON tree view and color-highlighted JSON viewer
    • Expandable to a full-screen log viewer
  • Added log filtering (by method, status, or keyword)

  • Example project demonstrating integration with a public REST API

3
likes
160
points
289
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Dio-powered API service for Flutter that automatically logs requests

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, dio_web_adapter, flutter, get

More

Packages that depend on api_sentinel