Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
gm_flutter
Commits
27565f23
Commit
27565f23
authored
Jul 14, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix UI
parent
81c03efc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
LevelOneItem.dart
lib/ClueModel/page/levelOne/LevelOneItem.dart
+1
-1
PlanPage.dart
lib/ClueModel/page/plan/PlanPage.dart
+4
-3
TopList.dart
lib/ClueModel/page/top/TopList.dart
+1
-1
BaseComponent.dart
lib/commonModel/base/BaseComponent.dart
+4
-4
No files found.
lib/ClueModel/page/levelOne/LevelOneItem.dart
View file @
27565f23
...
...
@@ -597,7 +597,7 @@ class LevelOneItem extends StatelessWidget {
cards
.
diary
.
content
,
textScaleFactor:
1.0
,
maxLines:
5
,
strutStyle:
StrutStyle
(
forceStrutHeight:
true
,
height:
2
),
strutStyle:
StrutStyle
(
forceStrutHeight:
true
,
height:
1.6
),
overflow:
TextOverflow
.
ellipsis
,
style:
TextStyle
(
decoration:
TextDecoration
.
none
,
...
...
lib/ClueModel/page/plan/PlanPage.dart
View file @
27565f23
...
...
@@ -66,7 +66,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
@override
void
initState
()
{
super
.
initState
();
if
(
inProduction
&&
if
(
inProduction
&&
Platform
.
isIOS
&&
CacheManager
.
getInstance
().
get
(
MEMORY_CACHE
).
get
(
BASE_URL
)
==
null
)
{
func
=
(
str
)
{
...
...
@@ -348,8 +348,9 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
handle:
NestedScrollView
.
sliverOverlapAbsorberHandleFor
(
context
),
sliver:
baseSliverAppBar
(
null
,
height:
kToolbarHeight
+
stateBarHeight
-
39
,
needpic:
false
)),
height:
0
,
needpic:
false
,
paddingTop:
-(
kToolbarHeight
-
stateBarHeight
))),
SliverList
(
delegate:
SliverChildBuilderDelegate
((
BuildContext
c
,
int
i
)
{
if
(
i
==
0
)
{
...
...
lib/ClueModel/page/top/TopList.dart
View file @
27565f23
...
...
@@ -70,7 +70,7 @@ class TopListState extends State<TopList> with AutomaticKeepAliveClientMixin {
slivers:
<
Widget
>[
SliverToBoxAdapter
(
child:
Container
(
height:
widget
.
topHeight
-(
Platform
.
isIOS
?
12
:
6
)
,
height:
widget
.
topHeight
-
12
,
),
),
// extend.SliverOverlapInjector(
...
...
lib/commonModel/base/BaseComponent.dart
View file @
27565f23
...
...
@@ -497,7 +497,7 @@ Widget baseTabBarItem(String text,
}
Widget
baseSliverAppBar
(
String
url
,
{
double
height
,
double
elevation
,
bool
needpic
=
true
})
{
{
double
height
,
double
elevation
,
bool
needpic
=
true
,
double
paddingTop
})
{
return
SliverAppBar
(
pinned:
true
,
centerTitle:
true
,
...
...
@@ -505,7 +505,7 @@ Widget baseSliverAppBar(String url,
expandedHeight:
height
??
200
,
automaticallyImplyLeading:
false
,
bottom:
PreferredSize
(
preferredSize:
Size
.
fromHeight
(
Platform
.
isIOS
?
-
12
:
-
6
),
preferredSize:
Size
.
fromHeight
(
paddingTop
??
-
12
),
child:
SizedBox
(
height:
0
,
),
...
...
@@ -524,7 +524,7 @@ Widget baseSliverAppBar(String url,
Widget
baseSliverBack
(
VoidCallback
tap
,
context
)
{
final
double
topPadding
=
MediaQuery
.
of
(
context
).
padding
.
top
;
return
Positioned
(
top:
topPadding
+
12
,
top:
topPadding
+
6.5
,
left:
7
,
child:
GestureDetector
(
behavior:
HitTestBehavior
.
opaque
,
...
...
@@ -548,7 +548,7 @@ Widget baseSliverBack(VoidCallback tap, context) {
Widget
baseSliverTitle
(
String
text
,
double
width
,
LiveData
liveData
,
context
)
{
final
double
topPadding
=
MediaQuery
.
of
(
context
).
padding
.
top
;
return
Positioned
(
top:
topPadding
+
13
,
top:
topPadding
+
9.5
,
child:
StreamBuilder
(
stream:
liveData
.
stream
,
initialData:
liveData
.
data
??
0.0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment