websafe_svg

Dart Publisher

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

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(...);
}

Libraries

websafe_svg