Added title and icon
BIN
assets/plate.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
@@ -20,6 +20,7 @@ class MainApp extends StatelessWidget {
|
||||
create: (context) => GlobalModel(),
|
||||
builder: (BuildContext context, child) {
|
||||
return const MaterialApp(
|
||||
title: "IIITB Menu",
|
||||
home: HomePage(),
|
||||
);
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: iiitb_menu
|
||||
description: A new Flutter project.
|
||||
description: IIITB Bi-Weekly Menu
|
||||
# The following line prevents the package from being accidentally published to
|
||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
@@ -68,8 +68,8 @@ flutter:
|
||||
uses-material-design: true
|
||||
|
||||
# To add assets to your application, add an assets section, like this:
|
||||
# assets:
|
||||
# - images/a_dot_burr.jpeg
|
||||
assets:
|
||||
- assets/plate.png
|
||||
# - images/a_dot_ham.jpeg
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
|
||||
BIN
web/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
web/favicon.png
|
Before Width: | Height: | Size: 917 B |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 20 KiB |
BIN
web/icons/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
web/icons/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
web/icons/favicon-96x96.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
@@ -23,11 +24,11 @@
|
||||
<!-- iOS meta tags & icons -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="iiitb_menu">
|
||||
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
||||
<meta name="apple-mobile-web-app-title" content="IIITB Menu">
|
||||
<link rel="apple-touch-icon" href="icons/favicon-96x96.png">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
<link rel="icon" type="image/ico" href="favicon.ico" />
|
||||
|
||||
<title>iiitb_menu</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
@@ -39,16 +40,20 @@
|
||||
<!-- This script adds the flutter initialization JS code -->
|
||||
<script src="flutter.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script>
|
||||
window.addEventListener('load', function(ev) {
|
||||
window.addEventListener('load', function (ev)
|
||||
{
|
||||
// Download main.dart.js
|
||||
_flutter.loader.loadEntrypoint({
|
||||
serviceWorker: {
|
||||
serviceWorkerVersion: serviceWorkerVersion,
|
||||
},
|
||||
onEntrypointLoaded: function(engineInitializer) {
|
||||
engineInitializer.initializeEngine().then(function(appRunner) {
|
||||
onEntrypointLoaded: function (engineInitializer)
|
||||
{
|
||||
engineInitializer.initializeEngine().then(function (appRunner)
|
||||
{
|
||||
appRunner.runApp();
|
||||
});
|
||||
}
|
||||
@@ -56,4 +61,5 @@
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@@ -1,35 +1,28 @@
|
||||
{
|
||||
"name": "iiitb_menu",
|
||||
"short_name": "iiitb_menu",
|
||||
"name": "IIITB Menu",
|
||||
"short_name": "IIITB Menu",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"background_color": "#0175C2",
|
||||
"theme_color": "#0175C2",
|
||||
"description": "A new Flutter project.",
|
||||
"description": "Bi-Weekly Menu.",
|
||||
"orientation": "portrait-primary",
|
||||
"prefer_related_applications": false,
|
||||
"icons": [
|
||||
{
|
||||
"src": "icons/Icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"src": "icons/favicon-16x16.png",
|
||||
"sizes": "16x16",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"src": "icons/favicon-32x32.png",
|
||||
"sizes": "32x32",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-maskable-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-maskable-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
"src": "icons/favicon-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||