Skip to content

Commit

Permalink
Re-ran native_splash generator
Browse files Browse the repository at this point in the history
  • Loading branch information
esDotDev committed Oct 5, 2023
1 parent 4d53470 commit 8ac60d4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pubspec.lock
Expand Up @@ -212,13 +212,13 @@ packages:
source: sdk
version: "0.0.0"
flutter_native_splash:
dependency: "direct main"
dependency: "direct dev"
description:
name: flutter_native_splash
sha256: ecff62b3b893f2f665de7e4ad3de89f738941fcfcaaba8ee601e749efafa4698
sha256: "91004565166dbbc7a85e7e99b84124a287839830ca957cfe45004793fe6fe69f"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.3"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Expand Up @@ -23,7 +23,6 @@ dependencies:
flutter_animate: ^1.0.0
flutter_circular_text: ^0.3.1
flutter_displaymode: ^0.5.0
flutter_native_splash: ^2.2.17
flutter_staggered_grid_view: ^0.6.2
flutter_svg: ^2.0.1
gap: ^3.0.1
Expand Down Expand Up @@ -56,6 +55,7 @@ dependencies:
dev_dependencies:
icons_launcher: ^2.1.3
flutter_lints: ^2.0.2
flutter_native_splash: ^2.3.3
dependency_validator: ^3.2.2

icons_launcher:
Expand Down
8 changes: 7 additions & 1 deletion web/index.html
Expand Up @@ -37,6 +37,11 @@
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyApU8L3yhkxmlwBer2x0HIvXW0JyGlf_Hg"></script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer=""></script>


<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">


<style id="splash-screen-style">
html {
height: 100%
Expand Down Expand Up @@ -102,14 +107,15 @@
document.body.style.background = "transparent";
}
</script>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
</head>
<body>
<picture id="splash">
<source srcset="splash/img/light-1x.png 1x, splash/img/light-2x.png 2x, splash/img/light-3x.png 3x, splash/img/light-4x.png 4x" media="(prefers-color-scheme: light)">
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x" media="(prefers-color-scheme: dark)">
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
</picture>


<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
Expand Down

0 comments on commit 8ac60d4

Please sign in to comment.