svg_image_provider 0.1.2 copy "svg_image_provider: ^0.1.2" to clipboard
svg_image_provider: ^0.1.2 copied to clipboard

Creates an ImageProvider from an SVG asset with proper scaling of the underlying vector graphics.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add svg_image_provider

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

dependencies:
  svg_image_provider: ^0.1.2

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_image_provider/svg_image_provider.dart';
5
likes
160
points
175
downloads

Documentation

API reference

Publisher

verified publisherabcx3.com

Weekly Downloads

Creates an ImageProvider from an SVG asset with proper scaling of the underlying vector graphics.

Homepage
Repository (GitHub)
View/report issues

Topics

#svg #flutter #imageprovider

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on svg_image_provider