Skip to content

Commit 78c6a68

Browse files
author
Rody Davis
committed
updating example
1 parent 5f9ae8f commit 78c6a68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+34161
-35233
lines changed

docs/assets/LICENSE

+180-1
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ limitations under the License.
724724
--------------------------------------------------------------------------------
725725
angle
726726
fuchsia_sdk
727-
tonic
728727

729728
Copyright 2019 The Fuchsia Authors. All rights reserved.
730729

@@ -4483,6 +4482,35 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44834482
--------------------------------------------------------------------------------
44844483
dart
44854484

4485+
Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
4486+
for details. All rights reserved.
4487+
4488+
Redistribution and use in source and binary forms, with or without
4489+
modification, are permitted provided that the following conditions are
4490+
met:
4491+
* Redistributions of source code must retain the above copyright
4492+
notice, this list of conditions and the following disclaimer.
4493+
* Redistributions in binary form must reproduce the above
4494+
copyright notice, this list of conditions and the following
4495+
disclaimer in the documentation and/or other materials provided
4496+
with the distribution.
4497+
* Neither the name of Google Inc. nor the names of its
4498+
contributors may be used to endorse or promote products derived
4499+
from this software without specific prior written permission.
4500+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4501+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4502+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4503+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4504+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4505+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
4506+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4507+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4508+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4509+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4510+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4511+
--------------------------------------------------------------------------------
4512+
dart
4513+
44864514
Copyright 2009 The Go Authors. All rights reserved.
44874515
Use of this source code is governed by a BSD-style
44884516
license that can be found in the LICENSE file
@@ -4606,6 +4634,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46064634
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46074635
--------------------------------------------------------------------------------
46084636
engine
4637+
tonic
46094638
txt
46104639

46114640
Copyright 2013 The Flutter Authors. All rights reserved.
@@ -5357,6 +5386,36 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
53575386
--------------------------------------------------------------------------------
53585387
fuchsia_sdk
53595388

5389+
Copyright 2020 The Fuchsia Authors. All rights reserved.
5390+
5391+
Redistribution and use in source and binary forms, with or without
5392+
modification, are permitted provided that the following conditions are
5393+
met:
5394+
5395+
* Redistributions of source code must retain the above copyright
5396+
notice, this list of conditions and the following disclaimer.
5397+
* Redistributions in binary form must reproduce the above
5398+
copyright notice, this list of conditions and the following disclaimer
5399+
in the documentation and/or other materials provided with the
5400+
distribution.
5401+
* Neither the name of Google Inc. nor the names of its
5402+
contributors may be used to endorse or promote products derived from
5403+
this software without specific prior written permission.
5404+
5405+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
5406+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5407+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
5408+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
5409+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5410+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
5411+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
5412+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5413+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5414+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5415+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5416+
--------------------------------------------------------------------------------
5417+
fuchsia_sdk
5418+
53605419
The majority of files in this project use the Apache 2.0 License.
53615420
There are a few exceptions and their license can be found in the source.
53625421
Any license deviations from Apache 2.0 are "more permissive" licenses.
@@ -10500,6 +10559,30 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1050010559
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1050110560
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1050210561
--------------------------------------------------------------------------------
10562+
node-source-map-support
10563+
10564+
The MIT License (MIT)
10565+
10566+
Copyright (c) 2014 Evan Wallace
10567+
10568+
Permission is hereby granted, free of charge, to any person obtaining a copy
10569+
of this software and associated documentation files (the "Software"), to deal
10570+
in the Software without restriction, including without limitation the rights
10571+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10572+
copies of the Software, and to permit persons to whom the Software is
10573+
furnished to do so, subject to the following conditions:
10574+
10575+
The above copyright notice and this permission notice shall be included in all
10576+
copies or substantial portions of the Software.
10577+
10578+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10579+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10580+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
10581+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
10582+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10583+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
10584+
SOFTWARE.
10585+
--------------------------------------------------------------------------------
1050310586
observatory_pub_packages
1050410587

1050510588
Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
@@ -13211,6 +13294,102 @@ skia
1321113294

1321213295
Copyright 2019 The Android Open Source Project
1321313296

13297+
Redistribution and use in source and binary forms, with or without
13298+
modification, are permitted provided that the following conditions are
13299+
met:
13300+
13301+
* Redistributions of source code must retain the above copyright
13302+
notice, this list of conditions and the following disclaimer.
13303+
13304+
* Redistributions in binary form must reproduce the above copyright
13305+
notice, this list of conditions and the following disclaimer in
13306+
the documentation and/or other materials provided with the
13307+
distribution.
13308+
13309+
* Neither the name of the copyright holder nor the names of its
13310+
contributors may be used to endorse or promote products derived
13311+
from this software without specific prior written permission.
13312+
13313+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
13314+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
13315+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13316+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
13317+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
13318+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
13319+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
13320+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
13321+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
13322+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
13323+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13324+
--------------------------------------------------------------------------------
13325+
skia
13326+
13327+
Copyright 2020 Google Inc.
13328+
13329+
Redistribution and use in source and binary forms, with or without
13330+
modification, are permitted provided that the following conditions are
13331+
met:
13332+
13333+
* Redistributions of source code must retain the above copyright
13334+
notice, this list of conditions and the following disclaimer.
13335+
13336+
* Redistributions in binary form must reproduce the above copyright
13337+
notice, this list of conditions and the following disclaimer in
13338+
the documentation and/or other materials provided with the
13339+
distribution.
13340+
13341+
* Neither the name of the copyright holder nor the names of its
13342+
contributors may be used to endorse or promote products derived
13343+
from this software without specific prior written permission.
13344+
13345+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
13346+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
13347+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13348+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
13349+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
13350+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
13351+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
13352+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
13353+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
13354+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
13355+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13356+
--------------------------------------------------------------------------------
13357+
skia
13358+
13359+
Copyright 2020 Google LLC
13360+
13361+
Redistribution and use in source and binary forms, with or without
13362+
modification, are permitted provided that the following conditions are
13363+
met:
13364+
13365+
* Redistributions of source code must retain the above copyright
13366+
notice, this list of conditions and the following disclaimer.
13367+
13368+
* Redistributions in binary form must reproduce the above copyright
13369+
notice, this list of conditions and the following disclaimer in
13370+
the documentation and/or other materials provided with the
13371+
distribution.
13372+
13373+
* Neither the name of the copyright holder nor the names of its
13374+
contributors may be used to endorse or promote products derived
13375+
from this software without specific prior written permission.
13376+
13377+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
13378+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
13379+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13380+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
13381+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
13382+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
13383+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
13384+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
13385+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
13386+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
13387+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13388+
--------------------------------------------------------------------------------
13389+
skia
13390+
13391+
Copyright 2020 Google LLC.
13392+
1321413393
Redistribution and use in source and binary forms, with or without
1321513394
modification, are permitted provided that the following conditions are
1321613395
met:

docs/favicon.png

917 Bytes
Loading

docs/flutter_service_worker.js

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
'use strict';
2+
const CACHE_NAME = 'flutter-app-cache';
3+
const RESOURCES = {
4+
"/index.html": "e36211d86e9c70409c58295974f749a1",
5+
"/main.dart.js": "c9488b9506b43befab88df0c2b14622a",
6+
"/favicon.png": "5dcef449791fa27946b3d35ad8803796",
7+
"/icons/Icon-192.png": "ac9a721a12bbc803b44f645561ecb1e1",
8+
"/icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1",
9+
"/manifest.json": "00e0b69b49487ce4f9ff0c5fac8fda49",
10+
"/assets/LICENSE": "576c88cb294a8dbfac895014ce6de584",
11+
"/assets/AssetManifest.json": "2efbb41d7877d10aac9d091f58ccd7b9",
12+
"/assets/FontManifest.json": "01700ba55b08a6141f33e168c4a6c22f",
13+
"/assets/packages/cupertino_icons/assets/CupertinoIcons.ttf": "9a62a954b81a1ad45a58b9bcea89b50b",
14+
"/assets/fonts/MaterialIcons-Regular.ttf": "56d3ffdef7a25659eab6a68a3fbfaf16"
15+
};
16+
17+
self.addEventListener('activate', function (event) {
18+
event.waitUntil(
19+
caches.keys().then(function (cacheName) {
20+
return caches.delete(cacheName);
21+
}).then(function (_) {
22+
return caches.open(CACHE_NAME);
23+
}).then(function (cache) {
24+
return cache.addAll(Object.keys(RESOURCES));
25+
})
26+
);
27+
});
28+
29+
self.addEventListener('fetch', function (event) {
30+
event.respondWith(
31+
caches.match(event.request)
32+
.then(function (response) {
33+
if (response) {
34+
return response;
35+
}
36+
return fetch(event.request, {
37+
credentials: 'include'
38+
});
39+
})
40+
);
41+
});

docs/icons/Icon-192.png

5.17 KB
Loading

docs/icons/Icon-512.png

8.06 KB
Loading

docs/index.html

+23
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,32 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5+
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
6+
<meta name="description" content="A new Flutter project.">
7+
8+
<!-- iOS meta tags & icons -->
9+
<meta name="apple-mobile-web-app-capable" content="yes">
10+
<meta name="apple-mobile-web-status-bar-style" content="black">
11+
<meta name="apple-mobile-web-app-title" content="example">
12+
<link rel="apple-touch-icon" href="/icons/Icon-192.png">
13+
14+
<!-- Favicon -->
15+
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
16+
517
<title>example</title>
18+
<link rel="manifest" href="/manifest.json">
619
</head>
720
<body>
21+
<!-- This script installs service_worker.js to provide PWA functionality to
22+
application. For more information, see:
23+
https://developers.google.com/web/fundamentals/primers/service-workers -->
24+
<script>
25+
if ('serviceWorker' in navigator) {
26+
window.addEventListener('load', function () {
27+
navigator.serviceWorker.register('/flutter_service_worker.js');
28+
});
29+
}
30+
</script>
831
<script src="main.dart.js" type="application/javascript"></script>
932
</body>
1033
</html>

0 commit comments

Comments
 (0)