title: Why does my flutter code run twice instead of running once?
body: <p>I have created a flutter project that i expect to run once, but it runs twice instead.</p>
  <p>Here is the code:</p>
  <pre><code>import 'package:flutter/material.dart';
  import 'package:my_app_2_4/pages/game.dart';
  import 'package:my_app_2_4/pages/intro.dart';
  import 'package:my_app_2_4/pages/sayac.dart';
  
  void main() {
    print('here we go');
    runApp(MaterialApp(
        debugShowCheckedModeBanner: false,
        routes: {
          '/': (context) =&gt; Intro(),
          '/sayac' : (context) =&gt; Sayac(),
          '/game' : (context) =&gt; Home(),
        }
    ));
  }
  </code></pre>
  <p>Here is the output that i got:</p>
  <pre><code>Launching lib\main.dart on SM T500 in debug mode...
  Running Gradle task 'assembleDebug'...
  √  Built build\app\outputs\flutter-apk\app-debug.apk.
  Debug service listening on ws://127.0.0.1:51184/QLupSSeQTS0=/ws
  Syncing files to device SM T500...
  I/flutter ( 5976): here we go
  I/flutter ( 5976): here we go
  </code></pre>