arna_web_service 2.5.0 copy "arna_web_service: ^2.5.0" to clipboard
arna_web_service: ^2.5.0 copied to clipboard

Arna Web Service is a simple and powerful HTTP package for Flutter.

pub.dev

Introduction #

This is a Flutter plugin that provides a simple and powerful way to connect to HTTP-based web services from your Flutter app.

Installation #

Add Arna Web Service as a dependency in your pubspec.yaml:

dependencies:
  arna_web_service: ^2.5.0

Then, run flutter pub get to install the package.

Usage #

To use the web Service in your application, simply import the package:

import 'package:arna_web_service/arna_web_service.dart';

After that extend your class:

class APIController extends ArnaWebServiceController  {}

Or directly create an instance:

final ArnaWebService webService = ArnaWebService.service();

You can then use the web service to make API calls:

final Response? response = await webService.get(
  Uri.parse('https://api.ipify.org'),
);

License #

Arna Web Service is BSD 3-Clause licensed.

Contributing #

Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.

2
likes
130
pub points
59%
popularity

Publisher

unverified uploader

Arna Web Service is a simple and powerful HTTP package for Flutter.

Repository (GitHub)
View/report issues

Topics

#network #http #rest #client

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

arna_logger, connectivity_plus, dio, flutter, http_parser

More

Packages that depend on arna_web_service