autopilot_api 1.0.1 copy "autopilot_api: ^1.0.1" to clipboard
autopilot_api: ^1.0.1 copied to clipboard

Zero-boilerplate smart API engine for Flutter. Only uses http + shared_preferences.

Changelog #

1.0.1 #

  • Initial release
  • GET, POST, PUT, PATCH, DELETE, MULTIPART, DOWNLOAD support
  • Auto token injection via SharedPreferences
  • Smart response parser with envelope support
  • Two-layer cache (memory + SharedPreferences)
  • Exponential backoff retry
  • Request deduplication
  • Auto token refresh on 401
  • Beautiful colored debug logs with full payload printing
  • .handle() and .mapData() response extensions
  • Global loader + error callbacks
  • Environment switching at runtime
  • Pure Dart internet connectivity check
  • Zero external dependencies beyond http + shared_preferences
3
likes
120
points
200
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Zero-boilerplate smart API engine for Flutter. Only uses http + shared_preferences.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, http, shared_preferences

More

Packages that depend on autopilot_api