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

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

A lightweight Dio-powered API service for Flutter that automatically logs requests, handles errors elegantly, and provides a floating in-app debug overlay with real-time logs, JSON inspection, and syn [...]

Changelog #

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
0
points
289
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Dio-powered API service for Flutter that automatically logs requests, handles errors elegantly, and provides a floating in-app debug overlay with real-time logs, JSON inspection, and syntax highlighting

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, dio_web_adapter, flutter, get

More

Packages that depend on api_sentinel