websafe_svg 1.1.4+2 copy "websafe_svg: ^1.1.4+2" to clipboard
websafe_svg: ^1.1.4+2 copied to clipboard

outdated

Simple abstraction to be able to use SVGs in Android, iOS, and Web.

websafe_svg #

Dart Publisher

A Flutter compatible library to handle SVGs for Android, iOS, and Web.

The color attribute currently only works on Flutter 1.19.0-1.0.pre or higher. At time of release, this was available in the dev channel.

Using the library #

Add the repo to your Flutter pubspec.yaml file.

dependencies:
  websafe_svg: <<version>> 

Then run...

flutter packages get

Supports #

  • asset
  • network
  • memory
  • string

Example #

import 'package:websafe_svg/websafe_svg.dart';

...
Widget build(BuildContext context) {
  return WebsafeSvg.asset(...);
}
113
likes
40
points
143
downloads

Publisher

verified publisherpeifferinnovations.com

Weekly Downloads

Simple abstraction to be able to use SVGs in Android, iOS, and Web.

Repository (GitHub)

License

MIT (license)

Dependencies

convert, flutter, flutter_svg, http, logging, meta

More

Packages that depend on websafe_svg