flaticon_downloader 0.0.2
flaticon_downloader: ^0.0.2 copied to clipboard
Flaticon Image & Photo Downloader
flaticon_downloader #
Dart package for download Flaticon Image & Photo.
Getting Started #
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
...
flaticon_downloader: ^0.0.1
Next we need to install this
# Dart
pub get
# Flutter
flutter packages get
In your library add the following import:
import 'package:flaticon_downloader/flaticon_downloader.dart';
Usage #
<!-- single quality -->
var result = await FlatIconDownloader.get('url'); // add your url
<!-- for gif url -->
var result = await FlatIconDownloader.get('url', type: IconType.gif);
<!-- multiple quality -->
var multiResult = await FlatIconDownloader.getMulti('url');