flutter_svg_image 1.1.0+1 copy "flutter_svg_image: ^1.1.0+1" to clipboard
flutter_svg_image: ^1.1.0+1 copied to clipboard

Svg ImageProvider for Flutter. Use jovial_svg or WebView to parse svg and use flutter_cache_manager to cache svg files.

flutter_svg_image #

Svg ImageProvider for Flutter. Use jovial_svg or WebView to parse svg and use flutter_cache_manager to cache svg files.

Getting Started #

import 'package:flutter_svg_image/flutter_svg_image.dart';

Image(
  fit: BoxFit.contain,
  image: SvgImage.cachedNetwork(
    'https://jovial.com/images/jupiter.svg',
  ),
);

// Or

ScalableImageWidget.fromSISource(
  fit: BoxFit.contain,
  si: CachedNetworkSvgSource(
    'https://jovial.com/images/jupiter.svg',
  ),
);

// WebView

SvgWebImage.initWebView();
Image(
  fit: BoxFit.contain,
  image: SvgWebImage.cachedNetwork(
    'https://jovial.com/images/jupiter.svg',
    cacheSvg: true,
  ),
);
8
likes
140
pub points
85%
popularity

Publisher

unverified uploader

Svg ImageProvider for Flutter. Use jovial_svg or WebView to parse svg and use flutter_cache_manager to cache svg files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_cache_manager, flutter_image_compress, flutter_inappwebview, jovial_svg

More

Packages that depend on flutter_svg_image