honghengqiang 1 年之前
父节点
当前提交
9ce9cab3b0
共有 4 个文件被更改,包括 5 次插入6 次删除
  1. 2 2
      build/web/flutter_service_worker.js
  2. 1 1
      build/web/index.html
  3. 2 2
      lib/home/about_us.dart
  4. 0 1
      pubspec.yaml

+ 2 - 2
build/web/flutter_service_worker.js

@@ -4,8 +4,8 @@ const TEMP = 'flutter-temp-cache';
 const CACHE_NAME = 'flutter-app-cache';
 const RESOURCES = {
   "version.json": "31e94b74b10adf8c4726b9f6a1aaac70",
-"index.html": "a0e8469525f47510fd808d23bc8362ff",
-"/": "a0e8469525f47510fd808d23bc8362ff",
+"index.html": "59a11be8006295cc2774f47e27d2d239",
+"/": "59a11be8006295cc2774f47e27d2d239",
 "main.dart.js": "5ebda9d18abdff9aaa9cca0eec5f7470",
 "flutter.js": "1cfe996e845b3a8a33f57607e8b09ee4",
 "favicon.png": "6f9fbe8d82bb2e6e513a48fe5fa9a982",

+ 1 - 1
build/web/index.html

@@ -34,7 +34,7 @@
 
   <script>
     // The value below is injected by flutter build, do not touch.
-    var serviceWorkerVersion = '1222809613';
+    var serviceWorkerVersion = '1428729837';
   </script>
   <!-- This script adds the flutter initialization JS code -->
   <script src="flutter.js" defer></script>

+ 2 - 2
lib/home/about_us.dart

@@ -10,11 +10,11 @@ class AboutUSWidget extends StatelessWidget {
   var margin = 0.0;
   @override
   Widget build(BuildContext context) {
-    if(Util.isWeb()){
+    if (Util.isWeb()) {
       textSize = 30.sp;
       contentSize = 22.sp;
       margin = 0.3.sw;
-    }else{
+    } else {
       textSize = 60.sp;
       contentSize = 44.sp;
       margin = 0.1.sw;

+ 0 - 1
pubspec.yaml

@@ -40,7 +40,6 @@ dependencies:
   html: ^0.15.2
   flutter_screenutil: ^5.7.0
 
-
 dev_dependencies:
   flutter_test:
     sdk: flutter