flutter svg sample code code example
Example 1: flutter svg
dependencies:
flutter_svg: ^0.18.0
flutter pub get
import 'package:flutter_svg/flutter_svg.dart';
SvgPicture.asset("images/doughnut.svg")
Example 2: flutter svg package
$ flutter pub add flutter_svg