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?
Thank you...I'd apply that.