dummy_api_overlay 0.1.0
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_overlayThis 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.0Alternatively, 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';