File tree 7 files changed +36
-14
lines changed
7 files changed +36
-14
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) {
32
32
}
33
33
34
34
android {
35
- compileSdkVersion 27
35
+ compileSdkVersion 28
36
36
37
37
lintOptions {
38
38
disable ' InvalidPackage'
@@ -42,10 +42,10 @@ android {
42
42
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
43
43
applicationId " com.flutter.beer"
44
44
minSdkVersion 16
45
- targetSdkVersion 27
45
+ targetSdkVersion 28
46
46
versionCode flutterVersionCode. toInteger()
47
47
versionName flutterVersionName
48
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
48
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
49
49
}
50
50
51
51
signingConfigs {
@@ -79,8 +79,8 @@ flutter {
79
79
80
80
dependencies {
81
81
testImplementation ' junit:junit:4.12'
82
- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
83
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
82
+ androidTestImplementation ' androidx. test:runner:1.1.0-alpha4 '
83
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.0-alpha4 '
84
84
// firebase
85
85
implementation ' com.google.firebase:firebase-core:16.0.8'
86
86
// Crashlytics SDK
Original file line number Diff line number Diff line change 1
1
org.gradle.jvmargs =-Xmx1536M
2
+ android.useAndroidX =true
3
+ android.enableJetifier =true
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import 'package:efox_flutter/config/theme.dart' show AppTheme;
5
5
import 'package:efox_flutter/widget/index.dart' as WidgetRoot;
6
6
import 'package:efox_flutter/router/index.dart' show FluroRouter;
7
7
import 'package:efox_flutter/lang/index.dart' show AppLocalizations;
8
+ import 'package:efox_flutter/components/headerComp.dart' as Header;
8
9
9
10
class Index extends StatefulWidget {
10
11
final MainStateModel model;
@@ -69,11 +70,12 @@ class _IndexState extends State<Index>
69
70
70
71
Widget _TabBar () {
71
72
return TabBar (
73
+ indicatorColor: Color (AppTheme .secondColor),
72
74
controller: _tabController,
73
75
isScrollable: true ,
74
76
tabs: _mapList.map ((v) {
75
77
return new Tab (
76
- text: v.typeName,
78
+ text: AppLocalizations . $t ( v.typeName) ,
77
79
/* icon: Icon(
78
80
IconData(
79
81
v.code,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ List widgets = [
37
37
),
38
38
ItemInfo (
39
39
widget: drawer.Index (),
40
- code: 58928 , // airline_seat_flat
40
+ code: 58928 , // airline_seat_flat
41
41
title: drawer.Index .title,
42
42
),
43
43
ItemInfo (
@@ -62,7 +62,7 @@ List widgets = [
62
62
),
63
63
ItemInfo (
64
64
widget: popupmenubutton.Index (),
65
- code: 57440 , // art_track
65
+ code: 57440 , // art_track
66
66
title: popupmenubutton.Index .title,
67
67
),
68
68
ItemInfo (
@@ -81,7 +81,7 @@ List widgetMap = [
81
81
ItemListInfo (
82
82
nameSpaces: nameSpaces,
83
83
widgetList: widgets,
84
- typeName: 'navigator ' ,
84
+ typeName: 'Navigator ' ,
85
85
code: 58717 ,
86
86
)
87
87
];
Original file line number Diff line number Diff line change 6
6
"widgetType" : {
7
7
"regularLayout" : " common layout"
8
8
},
9
- "common" : {
9
+ "common" : {
10
10
"changeLanguage" : " 显示中文" ,
11
11
"changeVersion" : " checkVersion" ,
12
12
"compProgress" : " Components Progress"
23
23
"loadNetwork" : " Load Network Document Resources" ,
24
24
"loadLocal" : " Load Local Document Resources"
25
25
},
26
- "loading" : " Loading"
26
+ "loading" : " Loading" ,
27
+ "ScrollComponents" : " ScrollComponents" ,
28
+ "Common" : " Common" ,
29
+ "Form" : " Form" ,
30
+ "Regular" : " Regular" ,
31
+ "Navigator" : " Navigator" ,
32
+ "BulletBox" : " BulletBox" ,
33
+ "Animate" : " Animate" ,
34
+ "Gestures" : " Gestures" ,
35
+ "Vision" : " Vision"
27
36
}
Original file line number Diff line number Diff line change 6
6
"widgetType" : {
7
7
"regularLayout" : " 常规布局"
8
8
},
9
- "common" : {
9
+ "common" : {
10
10
"changeLanguage" : " Switch to English" ,
11
11
"changeVersion" : " 更新版本" ,
12
12
"compProgress" : " 组件进度"
23
23
"loadNetwork" : " 网络优良,可选择加载线上文档资源" ,
24
24
"loadLocal" : " 网络较差时,可选择加载本地文档资源"
25
25
},
26
- "loading" : " 加载中"
26
+ "loading" : " 加载中" ,
27
+ "ScrollComponents" : " 滚动" ,
28
+ "Common" : " 通用" ,
29
+ "Form" : " 表单" ,
30
+ "Regular" : " 布局" ,
31
+ "Navigator" : " 导航" ,
32
+ "BulletBox" : " 窗口" ,
33
+ "Animate" : " 动画" ,
34
+ "Gestures" : " 手势" ,
35
+ "Vision" : " 视觉"
27
36
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ description: A new Flutter project.
7
7
# Both the version and the builder number may be overridden in flutter
8
8
# build by specifying --build-name and --build-number, respectively.
9
9
# Read more about versioning at semver.org.
10
- version : 1.0.0 +1
10
+ version : 1.0.1 +1
11
11
12
12
environment :
13
13
sdk : " >=2.1.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments