Answers for "using background image in flutter"

4

flutter background image

Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Welcome to Flutter',
      home: Container(
        decoration: BoxDecoration(
            image: DecorationImage(
                image: AssetImage("images/logo.png"), fit: BoxFit.cover)),
        child: Scaffold(),),);
Posted by: Guest on June-12-2021

Code answers related to "using background image in flutter"

Browse Popular Code Answers by Language