title: Flatbutton is invisible. It is not showing asset image on Flatbutton
body: <p>it's a code of a main file</p>
  
  <pre><code>class MyApp extends StatelessWidget {
  
  @override
  Widget build(BuildContext context) {
  
  return MaterialApp(
    home: Scaffold(
      appBar: AppBar(
        title: Text("RTSPS"),
      ),
      body: Center(
        child: FlatButton(
        child: Image.asset('assets/1st.png'),
        onPressed:()=&gt;HomePage(),
  
        ),
      ),
    ),
    );
   }
  }
  </code></pre>
  
  <p>and here is <code>pubspec.yaml</code> file code in which I only made changes in assets</p>
  
  <pre><code>assets:
  
    - assets/1st.png
  </code></pre>