flutter_svg_image

Creator: coderz1093

Last updated:

Add to Cart

Description:

flutter svg image

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,
),
);
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.