api_manager_plus 1.0.2

SDKflutter
Platformandroidioswindowslinuxmacos

A lightweight and Flutter-only API manager package with built-in connectivity checks, safe API calls, unified request helpers, and standardized response handling.

api_manager_plus

api_manager_plus is a powerful, platform-independent Dart package for safe and flexible API integration with:

  • ✅ Internet connectivity check
  • ✅ Standard GET, POST, PUT, DELETE requests
  • ✅ Multipart file upload support
  • ✅ Centralized error/response handling
  • ✅ Configurable headers and console logging
  • ✅ Works across Android, iOS, Web, and Desktop

📦 Installation

Add to your pubspec.yaml:

dependencies:
  api_manager_plus: ^1.0.0

🚀 Usage

import 'package:api_manager_plus/api_manager_plus.dart';

void main() async {
  final response = await SafeApiCall.call(() => ApiRequestHelper.get('https://httpbin.org/get'));
  print(response);
}

For full examples, see example/main.dart.

📄 License

BSD-3-Clause