dummy_api_overlay 0.1.0 copy "dummy_api_overlay: ^0.1.0" to clipboard
dummy_api_overlay: ^0.1.0 copied to clipboard

A Flutter developer tool that adds a draggable overlay button to your app, letting you mock REST API responses without touching production code. Supports both the http and dio packages with shared_pre [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dummy_api_overlay

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

dependencies:
  dummy_api_overlay: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:dummy_api_overlay/dummy_api_overlay.dart';
0
likes
150
points
42
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter developer tool that adds a draggable overlay button to your app, letting you mock REST API responses without touching production code. Supports both the http and dio packages with shared_preferences persistence.

Repository (GitHub)
View/report issues

Topics

#developer-tools #api #mock #http #debugging

License

MIT (license)

Dependencies

dio, flutter, http, shared_preferences, uuid

More

Packages that depend on dummy_api_overlay