svg_icon 0.0.1 copy "svg_icon: ^0.0.1" to clipboard
svg_icon: ^0.0.1 copied to clipboard

Use SvgPicture.asset with an IconTheme

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add svg_icon

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  svg_icon: ^0.0.1

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:svg_icon/svg_icon.dart';
8
likes
90
pub points
83%
popularity

Publisher

unverified uploader

Use SvgPicture.asset with an IconTheme

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_svg

More

Packages that depend on svg_icon