/ web / index.html
index.html
 1  <!DOCTYPE html>
 2  <html>
 3  <head>
 4    <!--
 5      If you are serving your web app in a path other than the root, change the
 6      href value below to reflect the base path you are serving from.
 7  
 8      The path provided below has to start and end with a slash "/" in order for
 9      it to work correctly.
10  
11      For more details:
12      * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13  
14      This is a placeholder for base href that will be replaced by the value of
15      the `--base-href` argument provided to `flutter build`.
16    -->
17    <base href="$FLUTTER_BASE_HREF">
18  
19    <meta charset="UTF-8">
20    <meta content="IE=Edge" http-equiv="X-UA-Compatible">
21    <meta name="description" content="A new Flutter project.">
22  
23    <!-- iOS meta tags & icons -->
24    <meta name="apple-mobile-web-app-capable" content="yes">
25    <meta name="apple-mobile-web-app-status-bar-style" content="black">
26    <meta name="apple-mobile-web-app-title" content="calc">
27    <link rel="apple-touch-icon" href="icons/Icon-192.png">
28  
29    <!-- Favicon -->
30    <link rel="icon" type="image/png" href="favicon.png"/>
31  
32    <title>calc</title>
33    <link rel="manifest" href="manifest.json">
34  
35    <script>
36      // The value below is injected by flutter build, do not touch.
37      const serviceWorkerVersion = null;
38    </script>
39    <!-- This script adds the flutter initialization JS code -->
40    <script src="flutter.js" defer></script>
41  </head>
42  <body>
43    <script>
44      window.addEventListener('load', function(ev) {
45        // Download main.dart.js
46        _flutter.loader.loadEntrypoint({
47          serviceWorker: {
48            serviceWorkerVersion: serviceWorkerVersion,
49          },
50          onEntrypointLoaded: function(engineInitializer) {
51            engineInitializer.initializeEngine().then(function(appRunner) {
52              appRunner.runApp();
53            });
54          }
55        });
56      });
57    </script>
58  </body>
59  </html>