icon_bundler 1.1.3
icon_bundler: ^1.1.3 copied to clipboard
Bundle a collection of svg, png, jpg files as a single image containing all the icons.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add icon_bundler
With Flutter:
$ flutter pub add icon_bundler
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
icon_bundler: ^1.1.3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:icon_bundler/icon_bundler.dart';