yang-f / flutter_svg_provider

Use svg as image provider.
https://pub.dev/packages/flutter_svg_provider
Apache License 2.0
47 stars 72 forks source link

SVG image clarity dual #61

Open kahindiagenisys opened 9 months ago

kahindiagenisys commented 9 months ago
import 'package:flutter_svg_provider/flutter_svg_provider.dart' as svg_provider;

Container(
          height: double.maxFinite,
           width: double.maxFinite,
          decoration: const BoxDecoration(
            image: DecorationImage(
              //  opacity: 0.7,
                image: svg_provider.Svg(
                  "assets/icons/background_pattern.svg",
                  size: Size.square(40),
                ),
                repeat: ImageRepeat.repeat,
                fit: BoxFit.none)
          ),
        ),

svg_error