smart_svg_image 0.0.3 copy "smart_svg_image: ^0.0.3" to clipboard
smart_svg_image: ^0.0.3 copied to clipboard

A Flutter widget that intelligently renders SVG images with enhanced compatibility. Automatically resolves common SVG rendering issues and provides seamless image display.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:smart_svg_image/smart_svg_image.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('SmartSvgImage Example')),
        body: Center(
          child: SmartSvgImage(
            svgAssetPath: 'assets/images/logo.svg',
            height: 200,
            width: 200,
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
158
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that intelligently renders SVG images with enhanced compatibility. Automatically resolves common SVG rendering issues and provides seamless image display.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on smart_svg_image