mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
jsonexample: update web dir (#231)
This commit is contained in:
BIN
jsonexample/web/icons/Icon-192.png
Normal file
BIN
jsonexample/web/icons/Icon-192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
BIN
jsonexample/web/icons/Icon-512.png
Normal file
BIN
jsonexample/web/icons/Icon-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.1 KiB |
@@ -2,7 +2,17 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
||||||
|
<meta name="description" content="A new Flutter project.">
|
||||||
|
|
||||||
|
<!-- iOS meta tags & icons -->
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="apple-mobile-web-status-bar-style" content="black">
|
||||||
|
<meta name="apple-mobile-web-app-title" content="jsonexample">
|
||||||
|
<link rel="apple-touch-icon" href="/icons/Icon-192.png">
|
||||||
|
|
||||||
<title>jsonexample</title>
|
<title>jsonexample</title>
|
||||||
|
<link rel="manifest" href="/manifest.json">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script src="main.dart.js" type="application/javascript"></script>
|
<script src="main.dart.js" type="application/javascript"></script>
|
||||||
|
|||||||
23
jsonexample/web/manifest.json
Normal file
23
jsonexample/web/manifest.json
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"name": "jsonexample",
|
||||||
|
"short_name": "jsonexample",
|
||||||
|
"start_url": ".",
|
||||||
|
"display": "minimal-ui",
|
||||||
|
"background_color": "#0175C2",
|
||||||
|
"theme_color": "#0175C2",
|
||||||
|
"description": "A demonstration of JSON parsing",
|
||||||
|
"orientation": "portrait-primary",
|
||||||
|
"prefer_related_applications": false,
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "icons/Icon-192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "icons/Icon-512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user