Update web/ samples to work with Flutter SDK (#134)
* add package:http dependency in dad_jokes * add package:http dependency in filipino_cuisine * don't build package:http demos until flutter/flutter#34858 is resolved * update gallery * update github_dataviz * update particle_background * don't build github_dataviz (uses package:http) * update slide_puzzle * update spinning_square * update timeflow * update vision_challenge * update charts * update dad_jokes * update filipino cuisine * ignore build output * update timeflow and vision_challenge * update slide_puzzle * don't commit build/ directory * move preview.png images to assets * fix path url join * update readme * update web/readme.md
@@ -1,58 +0,0 @@
|
||||
[
|
||||
{
|
||||
"family": "MaterialIcons",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "GoogleSans",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "GoogleSans-Regular.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "GalleryIcons",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "GalleryIcons.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "AbrilFatface",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "AbrilFatface-Regular.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "LibreFranklin",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "LibreFranklin-Regular.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "Merriweather",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "Merriweather-Regular.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "Raleway",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "Raleway-Regular.ttf"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1,34 +0,0 @@
|
||||
Note: a reference to `MaterialIcons` is intentionally omitted because the
|
||||
corresponding font is not included in this source.
|
||||
|
||||
If you add `MaterialIcons-Extended.ttf` to this directory, you can update
|
||||
`FontManifest.json` as follows:
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"family": "MaterialIcons",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "MaterialIcons-Extended.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "GoogleSans",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "GoogleSans-Regular.ttf"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"family": "GalleryIcons",
|
||||
"fonts": [
|
||||
{
|
||||
"asset": "GalleryIcons.ttf"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 738 B |
|
Before Width: | Height: | Size: 679 B |
|
Before Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 729 B |
|
Before Width: | Height: | Size: 725 B |
|
Before Width: | Height: | Size: 620 B |
|
Before Width: | Height: | Size: 667 B |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 503 B |
|
Before Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 681 B |
|
Before Width: | Height: | Size: 836 B |
|
Before Width: | Height: | Size: 423 B |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 414 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 359 KiB |
|
Before Width: | Height: | Size: 312 KiB |
|
Before Width: | Height: | Size: 258 KiB |
|
Before Width: | Height: | Size: 322 KiB |
|
Before Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 373 KiB |
|
Before Width: | Height: | Size: 398 KiB |
|
Before Width: | Height: | Size: 380 KiB |
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 410 KiB |
|
Before Width: | Height: | Size: 321 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 180 KiB |
|
Before Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 146 KiB |
|
Before Width: | Height: | Size: 140 KiB |
@@ -1,19 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title></title>
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
|
||||
<link href="https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2" rel="preload" as="font" crossorigin>
|
||||
<link href="assets/GoogleSans-Regular.ttf" rel="preload" as="font" crossorigin>
|
||||
<link href="assets/GalleryIcons.ttf" rel="preload" as="font" crossorigin>
|
||||
<link href="assets/AbrilFatface-Regular.ttf" rel="preload" as="font" crossorigin>
|
||||
<link href="assets/LibreFranklin-Regular.ttf" rel="preload" as="font" crossorigin>
|
||||
<link href="assets/Merriweather-Regular.ttf" rel="preload" as="font" crossorigin>
|
||||
<link href="assets/Raleway-Regular.ttf" rel="preload" as="font" crossorigin>
|
||||
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,37 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title></title>
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
max-width: 600px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<title>gallery</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<iframe src="frame.html"></iframe>
|
||||
</div>
|
||||
<script src="main.dart.js" type="application/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
// Copyright 2019 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
import 'package:flutter_web_ui/ui.dart' as ui;
|
||||
import 'package:flutter_web.examples.gallery/main.dart' as app;
|
||||
|
||||
main() async {
|
||||
await ui.webOnlyInitializePlatform();
|
||||
app.main();
|
||||
}
|
||||
|
Before Width: | Height: | Size: 22 KiB |