flutter_url_shortener 2.0.0 flutter_url_shortener: ^2.0.0 copied to clipboard
This is a package that using bitly API service for generate shorten url. They could begin with the bit.ly domain or your own custom branded short domain (BSD)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_url_shortener
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_url_shortener: ^2.0.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:flutter_url_shortener/flutter_url_shortener.dart';