flutter_api_client 1.6.0 copy "flutter_api_client: ^1.6.0" to clipboard
flutter_api_client: ^1.6.0 copied to clipboard

Type-safe HTTP client for Flutter/Dart with retries, cache, dedup, refresh-queue auth, cancel tokens, and a spec-driven mock + docs + backend-guide generator.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate flutter_api_client

Use it

The package has the following executables:

$ gen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_api_client

With Flutter:

 $ flutter pub add flutter_api_client

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flutter_api_client: ^1.6.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_api_client/flutter_api_client.dart';
4
likes
160
points
355
downloads

Documentation

API reference

Publisher

verified publisherdhirajnikam.dev

Weekly Downloads

Type-safe HTTP client for Flutter/Dart with retries, cache, dedup, refresh-queue auth, cancel tokens, and a spec-driven mock + docs + backend-guide generator.

Repository (GitHub)
View/report issues
Contributing

Topics

#http #api-client #networking #mock #openapi

License

MIT (license)

Dependencies

args, build, collection, crypto, hive, http, source_gen

More

Packages that depend on flutter_api_client