Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-App
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
reason
2021-12-31 17:18:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9fecb8a6ef8a0360e7ff66980f084c393cc257ed
9fecb8a6
1 parent
a53ae3e9
update styles
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
4 deletions
lib/poem/page/poem_detail.dart
lib/poem/page/poem_detail.dart
View file @
9fecb8a
...
...
@@ -42,6 +42,7 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
),
),
body:
Container
(
alignment:
Alignment
.
topCenter
,
decoration:
const
BoxDecoration
(
image:
DecorationImage
(
image:
AssetImage
(
"assets/images/poem/poem_background.png"
),
...
...
@@ -49,8 +50,12 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
),
),
child:
SafeArea
(
child:
Container
(
margin:
const
EdgeInsets
.
symmetric
(
vertical:
40.0
,
horizontal:
25.0
),
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Container
(
margin:
const
EdgeInsets
.
symmetric
(
vertical:
40.0
,
horizontal:
25.0
),
height:
240.0
,
width:
double
.
infinity
,
decoration:
BoxDecoration
(
...
...
@@ -101,8 +106,52 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
),
),
),
)),
alignment:
Alignment
.
topLeft
,
),
const
Padding
(
padding:
EdgeInsets
.
symmetric
(
vertical:
10.0
,
horizontal:
25.0
),
child:
Text
(
"100位用户朗读录制提交了“临境”"
,
style:
TextStyle
(
color:
Colors
.
black
,
fontSize:
16.0
),
),
),
Container
(
padding:
const
EdgeInsets
.
symmetric
(
vertical:
10.0
,
horizontal:
25.0
),
width:
400.0
,
height:
160.0
,
child:
ListView
.
builder
(
itemBuilder:
(
BuildContext
context
,
int
index
)
{
return
Wrap
(
spacing:
5.0
,
crossAxisAlignment:
WrapCrossAlignment
.
center
,
children:
const
[
Icon
(
Icons
.
play_circle_outline
,
size:
16.0
,
),
Text
(
"普通话"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
16.0
),
)
],
);
}),
),
Row
(
children:
[
IconButton
(
icon:
const
Icon
(
Icons
.
mic_none
),
onPressed:
()
{},
),
IconButton
(
icon:
const
Icon
(
Icons
.
camera_alt_outlined
),
onPressed:
()
{},
)
],
),
],
),
),
),
);
}
...
...
Please
register
or
login
to post a comment