websafe_svg 3.0.1+6 websafe_svg: ^3.0.1+6 copied to clipboard
Simple abstraction to be able to use SVGs in Android, iOS, and Web.
Table of Contents
websafe_svg #
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(...);
}