flutternetworkservicehandler 0.0.3 flutternetworkservicehandler: ^0.0.3 copied to clipboard
This Package is easy and useful to handle network calls with the help of http package a simple network service handler is made to make request with passing headers, url, body and duration in seconds f [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutternetworkservicehandler
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutternetworkservicehandler: ^0.0.3
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:flutternetworkservicehandler/flutternetworkservicehandler.dart';