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

This package helps to add query parameters to a Dart that appends the '?param1=one&param2=two' to the url.

url_param: A Library For Dart/Flutter Developers. #

Coverage pub.dev GitHub stars GitHub license

use as following #

Add this to your package's pubspec.yaml file under dependency:

dependencies:
  url_param: ^1.0.3

Install it #

You can install packages from the command line:

with Flutter:

flutter pub get

Import it #

Now in your Dart code, you can use:

import 'package:url_params/params.dart';

Use it like below example #

void main() {
  var query =  URLParams();
  query.append('key', 'value');
  var result = query.toUrl('https://cdn.example.io');
  print(result);
}

Features and bugs #

Please file feature requests and bugs at the [issue tracker][tracker]. [tracker]: https://github.com/ishaileshmishra/url_params/issues

3
likes
130
pub points
33%
popularity

Publisher

unverified uploader

This package helps to add query parameters to a Dart that appends the '?param1=one&param2=two' to the url.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cupertino_icons, dio, logger, path

More

Packages that depend on url_params