title: Why does this code display a blank screen when running?
body: <p>Before displaying the code, here are the things that I checked to avoid similar answers :</p>
  <ul>
  <li><p>android:extratNativeLibs=&quot;true&quot;</p>
  </li>
  <li><p>Jsonfile firebase connected</p>
  </li>
  <li><p>routegenerator and initialroute checked in the main file and<br />
  generatorfile</p>
  </li>
  </ul>
  <p>.I like to avoid mediaQuery and work with percentages, that is why I use FractionallySizedBox. Here is the code of the initial route :</p>
  <pre><code> import 'package:flutter/cupertino.dart';
  import 'package:flutter/material.dart';
  
  class Start extends StatelessWidget {
    const Start({Key? key}) : super(key: key);
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
          home: Scaffold(
              body: Align(
                  alignment: Alignment.center,
                  child: Center(
                      child: Column(mainAxisSize: MainAxisSize.min, children: &lt;Widget&gt;[
                    FractionallySizedBox(widthFactor: 0.15, heightFactor: 0.15, child: Image.asset('assets/crown.png')),
                    FractionallySizedBox(
                        widthFactor: 0.40,
                        heightFactor: 0.20,
                        child: TextButton(
                            onPressed: () {
                              Navigator.of(context).pushNamed('/items');
                            },
                            child: Container(
                                decoration: BoxDecoration(color: Colors.purple),
                                child: Row(mainAxisSize: MainAxisSize.min, children: &lt;Widget&gt;[
                                  const Text('Start shopping',
                                      style: TextStyle(
                                        color: Colors.white,
                                        fontStyle: FontStyle.italic,
                                        fontSize: 25,
                                      )),
                                  Image.asset('assets/crown.png')
                                ]))))
                  ])))));
    }
  }
  </code></pre>