w
h
y
?
y
o
u
a
r
e
h
e
r
e
?
Objective-C静态代码分析有两种
第一种局势Xcode自带的
Product->Analyze
一目了然
第二种就是OCLint
OCLint
加上这句话就行了
12345678web.getSettings().setJavaScriptEnabled(true);//支持Javascriptweb.getSettings().setAllowFileAccess(true);//支持访问文件web.getSettings().setAl
...
加上这一句就行了
1android:contentDescription="@null"
第一个界面
123Intent intent = new Intent(FirstActivity.this,SecondActivity.class);intent.putExtra("key","value");startActivity(intent);
...
找到activity_main.xml文件
找到android:paddingTop
删掉即可
年年大雨年年淹
就属今年特别惨
地下车库全被泡
马路上面能开船
良田千顷变成海
成千上万人搬迁
疫情仍然在作怪
不知何时才算完
打开pubspec.yaml
找到dependencies
然后这一部分就是插件的位置
然后右上角Pub get
感觉和CocoaPods差不多
接着就可以导入来用了
在theme设置
12splashColor: Colors.transparent,highlightColor: Colors.transparent,
就像这样
12345theme: ThemeData( primarySwatch: Colors.blue, s
...
新建一个文件PlatformUtils.dart
12345678910111213141516171819202122232425262728293031323334353637383940414243444546import 'dart:io';import 'pa
...