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
e52b4358
Commit
e52b4358
authored
Jul 14, 2020
by
杜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一级/二级方案头部高度
parent
c82a5d29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
BaseComponent.dart
lib/commonModel/base/BaseComponent.dart
+8
-0
No files found.
lib/commonModel/base/BaseComponent.dart
View file @
e52b4358
...
...
@@ -3,6 +3,8 @@
* @date 2019-10-13
**/
import
'dart:io'
;
import
'package:cached_network_image/cached_network_image.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
@@ -502,6 +504,12 @@ Widget baseSliverAppBar(String url,
elevation:
elevation
??
0
,
expandedHeight:
height
??
200
,
automaticallyImplyLeading:
false
,
bottom:
PreferredSize
(
preferredSize:
Size
.
fromHeight
(
Platform
.
isIOS
?
-
12
:
-
6
),
child:
SizedBox
(
height:
0
,
),
),
flexibleSpace:
FlexibleSpaceBar
(
background:
needpic
?
CachedNetworkImage
(
...
...
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