I want to remove background colour and want to add some image as background.
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'My Title',
debugShowCheckedModeBanner: false,
theme: ThemeData(
scaffoldBackgroundColor: Colors.black,
dialogBackgroundColor: Colors.black,
primarySwatch: Colors.grey,
cardColor: Colors.white70,
accentColor: Colors.black,
),
home: HomePage(),
);
}
}
Want to remove this bg color and add an image