Showing
9 changed files
with
709 additions
and
20 deletions
| 1 | -# See https://www.dartlang.org/guides/libraries/private-files | ||
| 2 | - | ||
| 3 | -# Files and directories created by pub | 1 | +.DS_Store |
| 4 | .dart_tool/ | 2 | .dart_tool/ |
| 3 | + | ||
| 5 | .packages | 4 | .packages |
| 6 | .pub/ | 5 | .pub/ |
| 7 | -build/ | ||
| 8 | -# If you're building an application, you may want to check-in your pubspec.lock | ||
| 9 | -pubspec.lock | ||
| 10 | 6 | ||
| 11 | -# Directory created by dartdoc | ||
| 12 | -# If you don't generate documentation locally you can remove this line. | ||
| 13 | -doc/api/ | 7 | +build/ |
| 8 | +ios/.generated/ | ||
| 9 | +ios/Flutter/Generated.xcconfig | ||
| 10 | +ios/Runner/GeneratedPluginRegistrant.* |
.packages
0 → 100644
| 1 | +# Generated by pub on 2018-09-21 00:18:30.075689. | ||
| 2 | +analyzer:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/analyzer-0.32.4/lib/ | ||
| 3 | +args:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/args-1.5.0/lib/ | ||
| 4 | +async:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/async-2.0.8/lib/ | ||
| 5 | +boolean_selector:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-1.0.4/lib/ | ||
| 6 | +charcode:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/charcode-1.1.2/lib/ | ||
| 7 | +collection:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/collection-1.14.11/lib/ | ||
| 8 | +convert:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/convert-2.0.2/lib/ | ||
| 9 | +crypto:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/crypto-2.0.6/lib/ | ||
| 10 | +csslib:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/csslib-0.14.5/lib/ | ||
| 11 | +flutter:file:///d:/flutter/packages/flutter/lib/ | ||
| 12 | +flutter_test:file:///d:/flutter/packages/flutter_test/lib/ | ||
| 13 | +front_end:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/front_end-0.1.4/lib/ | ||
| 14 | +glob:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/glob-1.1.7/lib/ | ||
| 15 | +html:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/html-0.13.3+3/lib/ | ||
| 16 | +http:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/http-0.11.3+17/lib/ | ||
| 17 | +http_multi_server:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/http_multi_server-2.0.5/lib/ | ||
| 18 | +http_parser:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/http_parser-3.1.3/lib/ | ||
| 19 | +io:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/io-0.3.3/lib/ | ||
| 20 | +js:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/js-0.6.1+1/lib/ | ||
| 21 | +json_rpc_2:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/json_rpc_2-2.0.9/lib/ | ||
| 22 | +kernel:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/kernel-0.3.4/lib/ | ||
| 23 | +logging:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/logging-0.11.3+2/lib/ | ||
| 24 | +matcher:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/matcher-0.12.3+1/lib/ | ||
| 25 | +meta:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/meta-1.1.6/lib/ | ||
| 26 | +mime:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/mime-0.9.6+2/lib/ | ||
| 27 | +multi_server_socket:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/multi_server_socket-1.0.2/lib/ | ||
| 28 | +node_preamble:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/node_preamble-1.4.4/lib/ | ||
| 29 | +package_config:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_config-1.0.5/lib/ | ||
| 30 | +package_resolver:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_resolver-1.0.4/lib/ | ||
| 31 | +path:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/path-1.6.2/lib/ | ||
| 32 | +plugin:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/plugin-0.2.0+3/lib/ | ||
| 33 | +pool:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/pool-1.3.6/lib/ | ||
| 34 | +pub_semver:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/pub_semver-1.4.2/lib/ | ||
| 35 | +quiver:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/quiver-2.0.0+1/lib/ | ||
| 36 | +shelf:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/shelf-0.7.3+3/lib/ | ||
| 37 | +shelf_packages_handler:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/shelf_packages_handler-1.0.4/lib/ | ||
| 38 | +shelf_static:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/shelf_static-0.2.8/lib/ | ||
| 39 | +shelf_web_socket:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/shelf_web_socket-0.2.2+4/lib/ | ||
| 40 | +sky_engine:file:///d:/flutter/bin/cache/pkg/sky_engine/lib/ | ||
| 41 | +source_map_stack_trace:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_map_stack_trace-1.1.5/lib/ | ||
| 42 | +source_maps:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_maps-0.10.7/lib/ | ||
| 43 | +source_span:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.4.1/lib/ | ||
| 44 | +stack_trace:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/stack_trace-1.9.3/lib/ | ||
| 45 | +stream_channel:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/stream_channel-1.6.8/lib/ | ||
| 46 | +string_scanner:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/string_scanner-1.0.4/lib/ | ||
| 47 | +term_glyph:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/term_glyph-1.0.1/lib/ | ||
| 48 | +test:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/test-1.3.0/lib/ | ||
| 49 | +typed_data:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.1.6/lib/ | ||
| 50 | +utf:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/utf-0.9.0+5/lib/ | ||
| 51 | +vector_math:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.0.8/lib/ | ||
| 52 | +vm_service_client:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/vm_service_client-0.2.6/lib/ | ||
| 53 | +watcher:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/watcher-0.9.7+10/lib/ | ||
| 54 | +web_socket_channel:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/web_socket_channel-1.0.9/lib/ | ||
| 55 | +yaml:file:///d:/flutter/.pub-cache/hosted/pub.flutter-io.cn/yaml-2.1.15/lib/ | ||
| 56 | +flutter_screenutil:lib/ |
CHANGELOG.md
0 → 100644
| 1 | + | ||
| 1 | # flutter_ScreenUtil | 2 | # flutter_ScreenUtil |
| 2 | flutter 屏幕适配方案 | 3 | flutter 屏幕适配方案 |
| 3 | 4 | ||
| 4 | - | 5 | +github: https://github.com/lizhuoyuan/flutter_ScreenUtil |
| 5 | csdn博客本工具介绍:https://blog.csdn.net/u011272795/article/details/82795477 | 6 | csdn博客本工具介绍:https://blog.csdn.net/u011272795/article/details/82795477 |
| 6 | 7 | ||
| 7 | -更新日志: | ||
| 8 | - | ||
| 9 | -2018/9/23 修改一处拼写错误 | ||
| 10 | - | ||
| 11 | # 前言: | 8 | # 前言: |
| 12 | 9 | ||
| 13 | 现在的手机品牌和型号越来越多,导致我们平时写布局的时候会在个不同的移动设备上显示的效果不同, | 10 | 现在的手机品牌和型号越来越多,导致我们平时写布局的时候会在个不同的移动设备上显示的效果不同, |
| @@ -19,14 +16,39 @@ csdn博客本工具介绍:https://blog.csdn.net/u011272795/article/details/82795 | @@ -19,14 +16,39 @@ csdn博客本工具介绍:https://blog.csdn.net/u011272795/article/details/82795 | ||
| 19 | 16 | ||
| 20 | 17 | ||
| 21 | 使用方法: | 18 | 使用方法: |
| 19 | + | ||
| 22 | ``` | 20 | ``` |
| 21 | +导入包: | ||
| 22 | + | ||
| 23 | import 'package:flutter_app/ScreenUtil.dart'; //导入 | 23 | import 'package:flutter_app/ScreenUtil.dart'; //导入 |
| 24 | 24 | ||
| 25 | +在使用之前请设置好设计稿的宽度和高度,如果不设置则使用默认尺寸 | ||
| 26 | +传入设计稿的宽度和高度(单位px),默认为1080*1920 | ||
| 27 | +推荐在main.dart中设置,以保证在使用之前设置好了适配尺寸: | ||
| 28 | + | ||
| 29 | +ScreenUtil.instance = new ScreenUtil(width: 360, height: 720); | ||
| 30 | + | ||
| 31 | + | ||
| 32 | +使用: | ||
| 33 | + | ||
| 25 | .... | 34 | .... |
| 26 | -//传入设计稿的px尺寸 | 35 | +//传入设计稿的px尺寸: |
| 36 | + | ||
| 37 | +适配尺寸: | ||
| 27 | width: ScreenUtil().setWidth(540), | 38 | width: ScreenUtil().setWidth(540), |
| 28 | height: ScreenUtil().setHeight(200), | 39 | height: ScreenUtil().setHeight(200), |
| 29 | 40 | ||
| 41 | +其他相关api: | ||
| 42 | + | ||
| 43 | + print(ScreenUtil.pixelRatio); //设备的像素密度 | ||
| 44 | + print(ScreenUtil.screenWidth); //设备宽度 | ||
| 45 | + print(ScreenUtil.screenHeight); //设备高度 | ||
| 46 | + print(ScreenUtil.bottomBarHeight); //底部安全区距离,适用于全面屏下面有按键的 | ||
| 47 | + print(ScreenUtil.statusBarHeight); //状态栏高度 刘海屏会更高 | ||
| 48 | + | ||
| 49 | + print(ScreenUtil().scaleWidth); //宽度相对于设计稿放大的倍数 | ||
| 50 | + print(ScreenUtil().scaleHeight); //高度相对于设计稿放大的倍数 | ||
| 51 | + | ||
| 30 | ``` | 52 | ``` |
| 31 | 53 | ||
| 32 | ``` | 54 | ``` |
| @@ -34,14 +56,19 @@ import 'package:flutter_app/ScreenUtil.dart'; //导入 | @@ -34,14 +56,19 @@ import 'package:flutter_app/ScreenUtil.dart'; //导入 | ||
| 34 | 56 | ||
| 35 | @override | 57 | @override |
| 36 | Widget build(BuildContext context) { | 58 | Widget build(BuildContext context) { |
| 37 | - print(ScreenUtil.screenWidth); //设备宽度 | ||
| 38 | - print(ScreenUtil.screenHeight); //设备高度 | ||
| 39 | 59 | ||
| 40 | - print(ScreenUtil.pixelRatio); //设备的像素密度 | 60 | + print(ScreenUtil().setWidth(180)); |
| 61 | + print(ScreenUtil().setWidth(540)); | ||
| 62 | + print(ScreenUtil.screenWidth / ScreenUtil.pixelRatio); | ||
| 41 | 63 | ||
| 42 | - print(ScreenUtil.StatusBarHeight); //状态栏高度 刘海屏会更高 | ||
| 43 | - print(ScreenUtil.BottomBarHeight); //底部安全区距离 | 64 | + print(ScreenUtil.pixelRatio); //设备的像素密度 |
| 65 | + print(ScreenUtil.screenWidth); //设备宽度 | ||
| 66 | + print(ScreenUtil.screenHeight); //设备高度 | ||
| 67 | + print(ScreenUtil.bottomBarHeight); //底部安全区距离,适用于全面屏下面有按键的 | ||
| 68 | + print(ScreenUtil.statusBarHeight); //状态栏高度 刘海屏会更高 | ||
| 44 | 69 | ||
| 70 | + print(ScreenUtil().scaleWidth); //宽度相对于设计稿放大的倍数 | ||
| 71 | + print(ScreenUtil().scaleHeight); //高度相对于设计稿放大的倍数 | ||
| 45 | return new Scaffold( | 72 | return new Scaffold( |
| 46 | appBar: new AppBar( | 73 | appBar: new AppBar( |
| 47 | title: new Text(widget.title), | 74 | title: new Text(widget.title), |
flutter_screenutil.iml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<module type="JAVA_MODULE" version="4"> | ||
| 3 | + <component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
| 4 | + <exclude-output /> | ||
| 5 | + <content url="file://$MODULE_DIR$"> | ||
| 6 | + <sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" /> | ||
| 7 | + <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" /> | ||
| 8 | + <excludeFolder url="file://$MODULE_DIR$/.dart_tool" /> | ||
| 9 | + <excludeFolder url="file://$MODULE_DIR$/.idea" /> | ||
| 10 | + <excludeFolder url="file://$MODULE_DIR$/.pub" /> | ||
| 11 | + <excludeFolder url="file://$MODULE_DIR$/build" /> | ||
| 12 | + </content> | ||
| 13 | + <orderEntry type="jdk" jdkName="Android API 25 Platform" jdkType="Android SDK" /> | ||
| 14 | + <orderEntry type="sourceFolder" forTests="false" /> | ||
| 15 | + <orderEntry type="library" name="Dart Packages" level="project" /> | ||
| 16 | + <orderEntry type="library" name="Dart SDK" level="project" /> | ||
| 17 | + <orderEntry type="library" name="Flutter Plugins" level="project" /> | ||
| 18 | + </component> | ||
| 19 | +</module> |
hs_err_pid17512.log
0 → 100644
| 1 | +# | ||
| 2 | +# There is insufficient memory for the Java Runtime Environment to continue. | ||
| 3 | +# Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap | ||
| 4 | +# Possible reasons: | ||
| 5 | +# The system is out of physical RAM or swap space | ||
| 6 | +# In 32 bit mode, the process size limit was hit | ||
| 7 | +# Possible solutions: | ||
| 8 | +# Reduce memory load on the system | ||
| 9 | +# Increase physical memory or swap space | ||
| 10 | +# Check if swap backing store is full | ||
| 11 | +# Use 64 bit Java on a 64 bit OS | ||
| 12 | +# Decrease Java heap size (-Xmx/-Xms) | ||
| 13 | +# Decrease number of Java threads | ||
| 14 | +# Decrease Java thread stack sizes (-Xss) | ||
| 15 | +# Set larger code cache with -XX:ReservedCodeCacheSize= | ||
| 16 | +# This output file may be truncated or incomplete. | ||
| 17 | +# | ||
| 18 | +# Out of Memory Error (memory/allocation.inline.hpp:61), pid=17512, tid=0x0000000000002348 | ||
| 19 | +# | ||
| 20 | +# JRE version: (8.0_152-b02) (build ) | ||
| 21 | +# Java VM: OpenJDK 64-Bit Server VM (25.152-b02 mixed mode windows-amd64 compressed oops) | ||
| 22 | +# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows | ||
| 23 | +# | ||
| 24 | + | ||
| 25 | +--------------- T H R E A D --------------- | ||
| 26 | + | ||
| 27 | +Current thread (0x000000000270e800): JavaThread "Unknown thread" [_thread_in_vm, id=9032, stack(0x0000000002550000,0x0000000002650000)] | ||
| 28 | + | ||
| 29 | +Stack: [0x0000000002550000,0x0000000002650000] | ||
| 30 | +[error occurred during error reporting (printing stack bounds), id 0xc0000005] | ||
| 31 | + | ||
| 32 | +Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) | ||
| 33 | + | ||
| 34 | + | ||
| 35 | +--------------- P R O C E S S --------------- | ||
| 36 | + | ||
| 37 | +Java Threads: ( => current thread ) | ||
| 38 | + | ||
| 39 | +Other Threads: | ||
| 40 | + | ||
| 41 | +=>0x000000000270e800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=9032, stack(0x0000000002550000,0x0000000002650000)] | ||
| 42 | + | ||
| 43 | +VM state:not at safepoint (normal execution) | ||
| 44 | + | ||
| 45 | +VM Mutex/Monitor currently owned by a thread: None | ||
| 46 | + | ||
| 47 | +Heap: | ||
| 48 | + PSYoungGen total 38400K, used 665K [0x00000000d5f00000, 0x00000000d8980000, 0x0000000100000000) | ||
| 49 | + eden space 33280K, 2% used [0x00000000d5f00000,0x00000000d5fa6670,0x00000000d7f80000) | ||
| 50 | + from space 5120K, 0% used [0x00000000d8480000,0x00000000d8480000,0x00000000d8980000) | ||
| 51 | + to space 5120K, 0% used [0x00000000d7f80000,0x00000000d7f80000,0x00000000d8480000) | ||
| 52 | + ParOldGen total 87552K, used 0K [0x0000000081c00000, 0x0000000087180000, 0x00000000d5f00000) | ||
| 53 | + object space 87552K, 0% used [0x0000000081c00000,0x0000000081c00000,0x0000000087180000) | ||
| 54 | + Metaspace used 772K, capacity 4480K, committed 4480K, reserved 1056768K | ||
| 55 | + class space used 73K, capacity 384K, committed 384K, reserved 1048576K | ||
| 56 | + | ||
| 57 | +Card table byte_map: [0x0000000011bd0000,0x0000000011fd0000] byte_map_base: 0x00000000117c2000 | ||
| 58 | + | ||
| 59 | +Marking Bits: (ParMarkBitMap*) 0x0000000070af4970 | ||
| 60 | + Begin Bits: [0x0000000012a80000, 0x0000000014a10000) | ||
| 61 | + End Bits: [0x0000000014a10000, 0x00000000169a0000) | ||
| 62 | + | ||
| 63 | +Polling page: 0x0000000000420000 | ||
| 64 | + | ||
| 65 | +CodeCache: size=245760Kb used=328Kb max_used=328Kb free=245431Kb | ||
| 66 | + bounds [0x0000000002810000, 0x0000000002a80000, 0x0000000011810000] | ||
| 67 | + total_blobs=57 nmethods=0 adapters=38 | ||
| 68 | + compilation: enabled | ||
| 69 | + | ||
| 70 | +Compilation events (0 events): | ||
| 71 | +No events | ||
| 72 | + | ||
| 73 | +GC Heap History (0 events): | ||
| 74 | +No events | ||
| 75 | + | ||
| 76 | +Deoptimization events (0 events): | ||
| 77 | +No events | ||
| 78 | + | ||
| 79 | +Classes redefined (0 events): | ||
| 80 | +No events | ||
| 81 | + | ||
| 82 | +Internal exceptions (0 events): | ||
| 83 | +No events | ||
| 84 | + | ||
| 85 | +Events (10 events): | ||
| 86 | +Event: 0.026 loading class java/lang/Short | ||
| 87 | +Event: 0.026 loading class java/lang/Short done | ||
| 88 | +Event: 0.026 loading class java/lang/Integer | ||
| 89 | +Event: 0.026 loading class java/lang/Integer done | ||
| 90 | +Event: 0.026 loading class java/lang/Long | ||
| 91 | +Event: 0.026 loading class java/lang/Long done | ||
| 92 | +Event: 0.027 loading class java/lang/NullPointerException | ||
| 93 | +Event: 0.027 loading class java/lang/NullPointerException done | ||
| 94 | +Event: 0.027 loading class java/lang/ArithmeticException | ||
| 95 | +Event: 0.027 loading class java/lang/ArithmeticException done | ||
| 96 | + | ||
| 97 | + | ||
| 98 | +Dynamic libraries: | ||
| 99 | +0x00007ff779c10000 - 0x00007ff779c41000 D:\Android\Android Studio\jre\jre\bin\java.exe | ||
| 100 | +0x00007ff965a70000 - 0x00007ff965c51000 C:\WINDOWS\SYSTEM32\ntdll.dll | ||
| 101 | +0x00007ff964750000 - 0x00007ff964802000 C:\WINDOWS\System32\KERNEL32.DLL | ||
| 102 | +0x00007ff9622b0000 - 0x00007ff962523000 C:\WINDOWS\System32\KERNELBASE.dll | ||
| 103 | +0x00007ff9650d0000 - 0x00007ff965171000 C:\WINDOWS\System32\ADVAPI32.dll | ||
| 104 | +0x00007ff964870000 - 0x00007ff96490e000 C:\WINDOWS\System32\msvcrt.dll | ||
| 105 | +0x00007ff964810000 - 0x00007ff96486b000 C:\WINDOWS\System32\sechost.dll | ||
| 106 | +0x00007ff965910000 - 0x00007ff965a34000 C:\WINDOWS\System32\RPCRT4.dll | ||
| 107 | +0x00007ff964b30000 - 0x00007ff964cc0000 C:\WINDOWS\System32\USER32.dll | ||
| 108 | +0x00007ff962de0000 - 0x00007ff962e00000 C:\WINDOWS\System32\win32u.dll | ||
| 109 | +0x00007ff963020000 - 0x00007ff963048000 C:\WINDOWS\System32\GDI32.dll | ||
| 110 | +0x00007ff962c40000 - 0x00007ff962dd2000 C:\WINDOWS\System32\gdi32full.dll | ||
| 111 | +0x00007ff962210000 - 0x00007ff9622af000 C:\WINDOWS\System32\msvcp_win.dll | ||
| 112 | +0x00007ff962e00000 - 0x00007ff962efa000 C:\WINDOWS\System32\ucrtbase.dll | ||
| 113 | +0x00007ff955560000 - 0x00007ff9557c9000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.17134.285_none_fb4297e330656775\COMCTL32.dll | ||
| 114 | +0x00007ff964cc0000 - 0x00007ff964fe3000 C:\WINDOWS\System32\combase.dll | ||
| 115 | +0x00007ff9620e0000 - 0x00007ff96215a000 C:\WINDOWS\System32\bcryptPrimitives.dll | ||
| 116 | +0x00007ff964910000 - 0x00007ff96493d000 C:\WINDOWS\System32\IMM32.DLL | ||
| 117 | +0x0000000070120000 - 0x00000000701f2000 D:\Android\Android Studio\jre\jre\bin\msvcr100.dll | ||
| 118 | +0x0000000070330000 - 0x0000000070b6f000 D:\Android\Android Studio\jre\jre\bin\server\jvm.dll | ||
| 119 | +0x00007ff965180000 - 0x00007ff965188000 C:\WINDOWS\System32\PSAPI.DLL | ||
| 120 | +0x00007ff95ff30000 - 0x00007ff95ff39000 C:\WINDOWS\SYSTEM32\WSOCK32.dll | ||
| 121 | +0x00007ff95fff0000 - 0x00007ff960013000 C:\WINDOWS\SYSTEM32\WINMM.dll | ||
| 122 | +0x00007ff95caf0000 - 0x00007ff95cafa000 C:\WINDOWS\SYSTEM32\VERSION.dll | ||
| 123 | +0x00007ff963100000 - 0x00007ff96316c000 C:\WINDOWS\System32\WS2_32.dll | ||
| 124 | +0x00007ff95fa90000 - 0x00007ff95faba000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll | ||
| 125 | +0x00007ff962160000 - 0x00007ff9621a9000 C:\WINDOWS\System32\cfgmgr32.dll | ||
| 126 | +0x00007ff95c110000 - 0x00007ff95c11f000 D:\Android\Android Studio\jre\jre\bin\verify.dll | ||
| 127 | +0x00007ff95c0b0000 - 0x00007ff95c0d9000 D:\Android\Android Studio\jre\jre\bin\java.dll | ||
| 128 | +0x00007ff95c0f0000 - 0x00007ff95c106000 D:\Android\Android Studio\jre\jre\bin\zip.dll | ||
| 129 | + | ||
| 130 | +VM Arguments: | ||
| 131 | +java_command: org.jetbrains.git4idea.http.GitAskPassApp Username for 'https://github.com': | ||
| 132 | +java_class_path (initial): D:/Android/Android Studio/plugins/git4idea/lib/git4idea-rt.jar;D:/Android/Android Studio/lib/xmlrpc-2.0.jar;D:/Android/Android Studio/lib/commons-codec-1.9.jar;D:/Android/Android Studio/lib/util.jar | ||
| 133 | +Launcher Type: SUN_STANDARD | ||
| 134 | + | ||
| 135 | +Environment Variables: | ||
| 136 | +JAVA_HOME=D:\Java | ||
| 137 | +PATH=D:\Git\mingw64/libexec/git-core;D:\Git\mingw64\bin;D:\Git\usr\bin;C:\Users\Administrator\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs\;D:\Android\sdk\platform-tools;D:\Android\sdk\tools;D:\Android\sdk\bin;D:\Android\sdk\jre\bin;D:\Git\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Administrator\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm;d:\flutter\bin;C:\Users\Administrator\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\bin; | ||
| 138 | +USERNAME=Administrator | ||
| 139 | +OS=Windows_NT | ||
| 140 | +PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel | ||
| 141 | + | ||
| 142 | + | ||
| 143 | + | ||
| 144 | +--------------- S Y S T E M --------------- | ||
| 145 | + | ||
| 146 | +OS: Windows 10.0 , 64 bit Build 17134 (10.0.17134.1) | ||
| 147 | + | ||
| 148 | +CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 94 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx | ||
| 149 | + | ||
| 150 | +Memory: 4k page, physical 8268504k(1566896k free), swap 11152088k(5940k free) | ||
| 151 | + | ||
| 152 | +vm_info: OpenJDK 64-Bit Server VM (25.152-b02) for windows-amd64 JRE (1.8.0_152-release-1024-b02), built by "builder" with MS VC++ 10.0 (VS2010) | ||
| 153 | + | ||
| 154 | +time: Mon Sep 24 01:41:52 2018 | ||
| 155 | +elapsed time: 0 seconds (0d 0h 0m 0s) | ||
| 156 | + |
pubspec.lock
0 → 100644
| 1 | +# Generated by pub | ||
| 2 | +# See https://www.dartlang.org/tools/pub/glossary#lockfile | ||
| 3 | +packages: | ||
| 4 | + analyzer: | ||
| 5 | + dependency: transitive | ||
| 6 | + description: | ||
| 7 | + name: analyzer | ||
| 8 | + url: "https://pub.flutter-io.cn" | ||
| 9 | + source: hosted | ||
| 10 | + version: "0.32.4" | ||
| 11 | + args: | ||
| 12 | + dependency: transitive | ||
| 13 | + description: | ||
| 14 | + name: args | ||
| 15 | + url: "https://pub.flutter-io.cn" | ||
| 16 | + source: hosted | ||
| 17 | + version: "1.5.0" | ||
| 18 | + async: | ||
| 19 | + dependency: transitive | ||
| 20 | + description: | ||
| 21 | + name: async | ||
| 22 | + url: "https://pub.flutter-io.cn" | ||
| 23 | + source: hosted | ||
| 24 | + version: "2.0.8" | ||
| 25 | + boolean_selector: | ||
| 26 | + dependency: transitive | ||
| 27 | + description: | ||
| 28 | + name: boolean_selector | ||
| 29 | + url: "https://pub.flutter-io.cn" | ||
| 30 | + source: hosted | ||
| 31 | + version: "1.0.4" | ||
| 32 | + charcode: | ||
| 33 | + dependency: transitive | ||
| 34 | + description: | ||
| 35 | + name: charcode | ||
| 36 | + url: "https://pub.flutter-io.cn" | ||
| 37 | + source: hosted | ||
| 38 | + version: "1.1.2" | ||
| 39 | + collection: | ||
| 40 | + dependency: transitive | ||
| 41 | + description: | ||
| 42 | + name: collection | ||
| 43 | + url: "https://pub.flutter-io.cn" | ||
| 44 | + source: hosted | ||
| 45 | + version: "1.14.11" | ||
| 46 | + convert: | ||
| 47 | + dependency: transitive | ||
| 48 | + description: | ||
| 49 | + name: convert | ||
| 50 | + url: "https://pub.flutter-io.cn" | ||
| 51 | + source: hosted | ||
| 52 | + version: "2.0.2" | ||
| 53 | + crypto: | ||
| 54 | + dependency: transitive | ||
| 55 | + description: | ||
| 56 | + name: crypto | ||
| 57 | + url: "https://pub.flutter-io.cn" | ||
| 58 | + source: hosted | ||
| 59 | + version: "2.0.6" | ||
| 60 | + csslib: | ||
| 61 | + dependency: transitive | ||
| 62 | + description: | ||
| 63 | + name: csslib | ||
| 64 | + url: "https://pub.flutter-io.cn" | ||
| 65 | + source: hosted | ||
| 66 | + version: "0.14.5" | ||
| 67 | + flutter: | ||
| 68 | + dependency: "direct main" | ||
| 69 | + description: flutter | ||
| 70 | + source: sdk | ||
| 71 | + version: "0.0.0" | ||
| 72 | + flutter_test: | ||
| 73 | + dependency: "direct dev" | ||
| 74 | + description: flutter | ||
| 75 | + source: sdk | ||
| 76 | + version: "0.0.0" | ||
| 77 | + front_end: | ||
| 78 | + dependency: transitive | ||
| 79 | + description: | ||
| 80 | + name: front_end | ||
| 81 | + url: "https://pub.flutter-io.cn" | ||
| 82 | + source: hosted | ||
| 83 | + version: "0.1.4" | ||
| 84 | + glob: | ||
| 85 | + dependency: transitive | ||
| 86 | + description: | ||
| 87 | + name: glob | ||
| 88 | + url: "https://pub.flutter-io.cn" | ||
| 89 | + source: hosted | ||
| 90 | + version: "1.1.7" | ||
| 91 | + html: | ||
| 92 | + dependency: transitive | ||
| 93 | + description: | ||
| 94 | + name: html | ||
| 95 | + url: "https://pub.flutter-io.cn" | ||
| 96 | + source: hosted | ||
| 97 | + version: "0.13.3+3" | ||
| 98 | + http: | ||
| 99 | + dependency: transitive | ||
| 100 | + description: | ||
| 101 | + name: http | ||
| 102 | + url: "https://pub.flutter-io.cn" | ||
| 103 | + source: hosted | ||
| 104 | + version: "0.11.3+17" | ||
| 105 | + http_multi_server: | ||
| 106 | + dependency: transitive | ||
| 107 | + description: | ||
| 108 | + name: http_multi_server | ||
| 109 | + url: "https://pub.flutter-io.cn" | ||
| 110 | + source: hosted | ||
| 111 | + version: "2.0.5" | ||
| 112 | + http_parser: | ||
| 113 | + dependency: transitive | ||
| 114 | + description: | ||
| 115 | + name: http_parser | ||
| 116 | + url: "https://pub.flutter-io.cn" | ||
| 117 | + source: hosted | ||
| 118 | + version: "3.1.3" | ||
| 119 | + io: | ||
| 120 | + dependency: transitive | ||
| 121 | + description: | ||
| 122 | + name: io | ||
| 123 | + url: "https://pub.flutter-io.cn" | ||
| 124 | + source: hosted | ||
| 125 | + version: "0.3.3" | ||
| 126 | + js: | ||
| 127 | + dependency: transitive | ||
| 128 | + description: | ||
| 129 | + name: js | ||
| 130 | + url: "https://pub.flutter-io.cn" | ||
| 131 | + source: hosted | ||
| 132 | + version: "0.6.1+1" | ||
| 133 | + json_rpc_2: | ||
| 134 | + dependency: transitive | ||
| 135 | + description: | ||
| 136 | + name: json_rpc_2 | ||
| 137 | + url: "https://pub.flutter-io.cn" | ||
| 138 | + source: hosted | ||
| 139 | + version: "2.0.9" | ||
| 140 | + kernel: | ||
| 141 | + dependency: transitive | ||
| 142 | + description: | ||
| 143 | + name: kernel | ||
| 144 | + url: "https://pub.flutter-io.cn" | ||
| 145 | + source: hosted | ||
| 146 | + version: "0.3.4" | ||
| 147 | + logging: | ||
| 148 | + dependency: transitive | ||
| 149 | + description: | ||
| 150 | + name: logging | ||
| 151 | + url: "https://pub.flutter-io.cn" | ||
| 152 | + source: hosted | ||
| 153 | + version: "0.11.3+2" | ||
| 154 | + matcher: | ||
| 155 | + dependency: transitive | ||
| 156 | + description: | ||
| 157 | + name: matcher | ||
| 158 | + url: "https://pub.flutter-io.cn" | ||
| 159 | + source: hosted | ||
| 160 | + version: "0.12.3+1" | ||
| 161 | + meta: | ||
| 162 | + dependency: transitive | ||
| 163 | + description: | ||
| 164 | + name: meta | ||
| 165 | + url: "https://pub.flutter-io.cn" | ||
| 166 | + source: hosted | ||
| 167 | + version: "1.1.6" | ||
| 168 | + mime: | ||
| 169 | + dependency: transitive | ||
| 170 | + description: | ||
| 171 | + name: mime | ||
| 172 | + url: "https://pub.flutter-io.cn" | ||
| 173 | + source: hosted | ||
| 174 | + version: "0.9.6+2" | ||
| 175 | + multi_server_socket: | ||
| 176 | + dependency: transitive | ||
| 177 | + description: | ||
| 178 | + name: multi_server_socket | ||
| 179 | + url: "https://pub.flutter-io.cn" | ||
| 180 | + source: hosted | ||
| 181 | + version: "1.0.2" | ||
| 182 | + node_preamble: | ||
| 183 | + dependency: transitive | ||
| 184 | + description: | ||
| 185 | + name: node_preamble | ||
| 186 | + url: "https://pub.flutter-io.cn" | ||
| 187 | + source: hosted | ||
| 188 | + version: "1.4.4" | ||
| 189 | + package_config: | ||
| 190 | + dependency: transitive | ||
| 191 | + description: | ||
| 192 | + name: package_config | ||
| 193 | + url: "https://pub.flutter-io.cn" | ||
| 194 | + source: hosted | ||
| 195 | + version: "1.0.5" | ||
| 196 | + package_resolver: | ||
| 197 | + dependency: transitive | ||
| 198 | + description: | ||
| 199 | + name: package_resolver | ||
| 200 | + url: "https://pub.flutter-io.cn" | ||
| 201 | + source: hosted | ||
| 202 | + version: "1.0.4" | ||
| 203 | + path: | ||
| 204 | + dependency: transitive | ||
| 205 | + description: | ||
| 206 | + name: path | ||
| 207 | + url: "https://pub.flutter-io.cn" | ||
| 208 | + source: hosted | ||
| 209 | + version: "1.6.2" | ||
| 210 | + plugin: | ||
| 211 | + dependency: transitive | ||
| 212 | + description: | ||
| 213 | + name: plugin | ||
| 214 | + url: "https://pub.flutter-io.cn" | ||
| 215 | + source: hosted | ||
| 216 | + version: "0.2.0+3" | ||
| 217 | + pool: | ||
| 218 | + dependency: transitive | ||
| 219 | + description: | ||
| 220 | + name: pool | ||
| 221 | + url: "https://pub.flutter-io.cn" | ||
| 222 | + source: hosted | ||
| 223 | + version: "1.3.6" | ||
| 224 | + pub_semver: | ||
| 225 | + dependency: transitive | ||
| 226 | + description: | ||
| 227 | + name: pub_semver | ||
| 228 | + url: "https://pub.flutter-io.cn" | ||
| 229 | + source: hosted | ||
| 230 | + version: "1.4.2" | ||
| 231 | + quiver: | ||
| 232 | + dependency: transitive | ||
| 233 | + description: | ||
| 234 | + name: quiver | ||
| 235 | + url: "https://pub.flutter-io.cn" | ||
| 236 | + source: hosted | ||
| 237 | + version: "2.0.0+1" | ||
| 238 | + shelf: | ||
| 239 | + dependency: transitive | ||
| 240 | + description: | ||
| 241 | + name: shelf | ||
| 242 | + url: "https://pub.flutter-io.cn" | ||
| 243 | + source: hosted | ||
| 244 | + version: "0.7.3+3" | ||
| 245 | + shelf_packages_handler: | ||
| 246 | + dependency: transitive | ||
| 247 | + description: | ||
| 248 | + name: shelf_packages_handler | ||
| 249 | + url: "https://pub.flutter-io.cn" | ||
| 250 | + source: hosted | ||
| 251 | + version: "1.0.4" | ||
| 252 | + shelf_static: | ||
| 253 | + dependency: transitive | ||
| 254 | + description: | ||
| 255 | + name: shelf_static | ||
| 256 | + url: "https://pub.flutter-io.cn" | ||
| 257 | + source: hosted | ||
| 258 | + version: "0.2.8" | ||
| 259 | + shelf_web_socket: | ||
| 260 | + dependency: transitive | ||
| 261 | + description: | ||
| 262 | + name: shelf_web_socket | ||
| 263 | + url: "https://pub.flutter-io.cn" | ||
| 264 | + source: hosted | ||
| 265 | + version: "0.2.2+4" | ||
| 266 | + sky_engine: | ||
| 267 | + dependency: transitive | ||
| 268 | + description: flutter | ||
| 269 | + source: sdk | ||
| 270 | + version: "0.0.99" | ||
| 271 | + source_map_stack_trace: | ||
| 272 | + dependency: transitive | ||
| 273 | + description: | ||
| 274 | + name: source_map_stack_trace | ||
| 275 | + url: "https://pub.flutter-io.cn" | ||
| 276 | + source: hosted | ||
| 277 | + version: "1.1.5" | ||
| 278 | + source_maps: | ||
| 279 | + dependency: transitive | ||
| 280 | + description: | ||
| 281 | + name: source_maps | ||
| 282 | + url: "https://pub.flutter-io.cn" | ||
| 283 | + source: hosted | ||
| 284 | + version: "0.10.7" | ||
| 285 | + source_span: | ||
| 286 | + dependency: transitive | ||
| 287 | + description: | ||
| 288 | + name: source_span | ||
| 289 | + url: "https://pub.flutter-io.cn" | ||
| 290 | + source: hosted | ||
| 291 | + version: "1.4.1" | ||
| 292 | + stack_trace: | ||
| 293 | + dependency: transitive | ||
| 294 | + description: | ||
| 295 | + name: stack_trace | ||
| 296 | + url: "https://pub.flutter-io.cn" | ||
| 297 | + source: hosted | ||
| 298 | + version: "1.9.3" | ||
| 299 | + stream_channel: | ||
| 300 | + dependency: transitive | ||
| 301 | + description: | ||
| 302 | + name: stream_channel | ||
| 303 | + url: "https://pub.flutter-io.cn" | ||
| 304 | + source: hosted | ||
| 305 | + version: "1.6.8" | ||
| 306 | + string_scanner: | ||
| 307 | + dependency: transitive | ||
| 308 | + description: | ||
| 309 | + name: string_scanner | ||
| 310 | + url: "https://pub.flutter-io.cn" | ||
| 311 | + source: hosted | ||
| 312 | + version: "1.0.4" | ||
| 313 | + term_glyph: | ||
| 314 | + dependency: transitive | ||
| 315 | + description: | ||
| 316 | + name: term_glyph | ||
| 317 | + url: "https://pub.flutter-io.cn" | ||
| 318 | + source: hosted | ||
| 319 | + version: "1.0.1" | ||
| 320 | + test: | ||
| 321 | + dependency: transitive | ||
| 322 | + description: | ||
| 323 | + name: test | ||
| 324 | + url: "https://pub.flutter-io.cn" | ||
| 325 | + source: hosted | ||
| 326 | + version: "1.3.0" | ||
| 327 | + typed_data: | ||
| 328 | + dependency: transitive | ||
| 329 | + description: | ||
| 330 | + name: typed_data | ||
| 331 | + url: "https://pub.flutter-io.cn" | ||
| 332 | + source: hosted | ||
| 333 | + version: "1.1.6" | ||
| 334 | + utf: | ||
| 335 | + dependency: transitive | ||
| 336 | + description: | ||
| 337 | + name: utf | ||
| 338 | + url: "https://pub.flutter-io.cn" | ||
| 339 | + source: hosted | ||
| 340 | + version: "0.9.0+5" | ||
| 341 | + vector_math: | ||
| 342 | + dependency: transitive | ||
| 343 | + description: | ||
| 344 | + name: vector_math | ||
| 345 | + url: "https://pub.flutter-io.cn" | ||
| 346 | + source: hosted | ||
| 347 | + version: "2.0.8" | ||
| 348 | + vm_service_client: | ||
| 349 | + dependency: transitive | ||
| 350 | + description: | ||
| 351 | + name: vm_service_client | ||
| 352 | + url: "https://pub.flutter-io.cn" | ||
| 353 | + source: hosted | ||
| 354 | + version: "0.2.6" | ||
| 355 | + watcher: | ||
| 356 | + dependency: transitive | ||
| 357 | + description: | ||
| 358 | + name: watcher | ||
| 359 | + url: "https://pub.flutter-io.cn" | ||
| 360 | + source: hosted | ||
| 361 | + version: "0.9.7+10" | ||
| 362 | + web_socket_channel: | ||
| 363 | + dependency: transitive | ||
| 364 | + description: | ||
| 365 | + name: web_socket_channel | ||
| 366 | + url: "https://pub.flutter-io.cn" | ||
| 367 | + source: hosted | ||
| 368 | + version: "1.0.9" | ||
| 369 | + yaml: | ||
| 370 | + dependency: transitive | ||
| 371 | + description: | ||
| 372 | + name: yaml | ||
| 373 | + url: "https://pub.flutter-io.cn" | ||
| 374 | + source: hosted | ||
| 375 | + version: "2.1.15" | ||
| 376 | +sdks: | ||
| 377 | + dart: ">=2.0.0-dev.68.0 <3.0.0" |
pubspec.yaml
0 → 100644
| 1 | +name: flutter_screenutil | ||
| 2 | +description: A new flutter package project. | ||
| 3 | +version: 0.1.0 | ||
| 4 | +author: LiZhuoyuan<zhuoyuan93@gmail.com> | ||
| 5 | +homepage: https://github.com/lizhuoyuan/flutter_ScreenUtil | ||
| 6 | + | ||
| 7 | +environment: | ||
| 8 | + sdk: ">=2.0.0-dev.68.0 <3.0.0" | ||
| 9 | + | ||
| 10 | +dependencies: | ||
| 11 | + flutter: | ||
| 12 | + sdk: flutter | ||
| 13 | + | ||
| 14 | +dev_dependencies: | ||
| 15 | + flutter_test: | ||
| 16 | + sdk: flutter | ||
| 17 | + | ||
| 18 | +# For information on the generic Dart part of this file, see the | ||
| 19 | +# following page: https://www.dartlang.org/tools/pub/pubspec | ||
| 20 | + | ||
| 21 | +# The following section is specific to Flutter. | ||
| 22 | +flutter: | ||
| 23 | + | ||
| 24 | + # To add assets to your package, add an assets section, like this: | ||
| 25 | + # assets: | ||
| 26 | + # - images/a_dot_burr.jpeg | ||
| 27 | + # - images/a_dot_ham.jpeg | ||
| 28 | + # | ||
| 29 | + # For details regarding assets in packages, see | ||
| 30 | + # https://flutter.io/assets-and-images/#from-packages | ||
| 31 | + # | ||
| 32 | + # An image asset can refer to one or more resolution-specific "variants", see | ||
| 33 | + # https://flutter.io/assets-and-images/#resolution-aware. | ||
| 34 | + | ||
| 35 | + # To add custom fonts to your package, add a fonts section here, | ||
| 36 | + # in this "flutter" section. Each entry in this list should have a | ||
| 37 | + # "family" key with the font family name, and a "fonts" key with a | ||
| 38 | + # list giving the asset and other descriptors for the font. For | ||
| 39 | + # example: | ||
| 40 | + # fonts: | ||
| 41 | + # - family: Schyler | ||
| 42 | + # fonts: | ||
| 43 | + # - asset: fonts/Schyler-Regular.ttf | ||
| 44 | + # - asset: fonts/Schyler-Italic.ttf | ||
| 45 | + # style: italic | ||
| 46 | + # - family: Trajan Pro | ||
| 47 | + # fonts: | ||
| 48 | + # - asset: fonts/TrajanPro.ttf | ||
| 49 | + # - asset: fonts/TrajanPro_Bold.ttf | ||
| 50 | + # weight: 700 | ||
| 51 | + # | ||
| 52 | + # For details regarding fonts in packages, see | ||
| 53 | + # https://flutter.io/custom-fonts/#from-packages |
-
Please register or login to post a comment