asset_icon 1.0.0
asset_icon: ^1.0.0 copied to clipboard
a powerful and customizable Flutter package for rendering asset-based icons with ease
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add asset_icon
With Flutter:
$ flutter pub add asset_icon
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
asset_icon: ^1.0.0
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:asset_icon/asset_icon.dart';