Useful or not, from you.
flutter Am trying to use SVG as decoration background, how do I do it?

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

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

class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: Container( decoration: BoxDecoration( image: DecorationImage( image: AssetImage('assets/Subtle-Prism.svg'), fit: BoxFit.fill), ), ), ), ); } }

Please what do I change or add in order to achieve this?

That's a useful answer
Without any help

Thank you...I'd apply that.