title: Can i start my app with a class except MyApp class?
body: <p>I'm working on a mobile app that requires a login page. I already coded the home page. And i want app to start with login page, not the page i coded. Is there a way to start the app with another class except myapp class ?</p>
  
  <p>I tried to start <code>runApp(ClassThatIWant());</code> but seems like thats not working.</p>
  
  <pre><code>void main() =&gt; runApp(MyApp());
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        home: VoiceHome(),
      );
    }
  }
  </code></pre>