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
2022-01-01 11:52:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
24f4dc50899370373f05a072d038d9760719c634
24f4dc50
1 parent
6f4ff762
repair style
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
48 deletions
lib/poem/page/poem_detail.dart
lib/poem/page/poem_detail.dart
View file @
24f4dc5
...
...
@@ -53,8 +53,8 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
children:
[
Container
(
margin:
const
EdgeInsets
.
symmetric
(
vertical:
4
0.0
,
horizontal:
20.0
),
height:
240.
0
,
vertical:
3
0.0
,
horizontal:
20.0
),
height:
MediaQuery
.
of
(
context
).
size
.
height
-
20
0
,
width:
double
.
infinity
,
decoration:
BoxDecoration
(
color:
Colors
.
grey
.
shade200
.
withOpacity
(
0.1
),
...
...
@@ -74,8 +74,8 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
child:
Padding
(
padding:
const
EdgeInsets
.
all
(
10.0
),
child:
Column
(
children:
const
[
Text
(
children:
[
const
Text
(
"题破山寺后禅院"
,
style:
TextStyle
(
fontSize:
24.0
,
...
...
@@ -83,7 +83,7 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
),
),
Gaps
.
vGap16
,
Text
(
const
Text
(
"常建"
,
style:
TextStyle
(
fontSize:
18.0
,
...
...
@@ -91,13 +91,46 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
),
),
Gaps
.
vGap12
,
Text
(
const
Text
(
"清晨入古寺,初日照高林。
\n
竹径通幽处,禅房花木深。
\n
山光悦鸟性,潭影空人心。
\n
万籁此都寂,但余钟磬音。"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontFamily:
"ZCOOLXiaoWei"
,
fontSize:
24.0
),
),
Gaps
.
vGap24
,
Container
(
alignment:
Alignment
.
centerLeft
,
padding:
const
EdgeInsets
.
symmetric
(
vertical:
5.0
,
horizontal:
10.0
),
child:
const
Text
(
"100位用户朗读录制提交了“临境”"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
15.0
),
),
),
Expanded
(
child:
Container
(
padding:
const
EdgeInsets
.
symmetric
(
vertical:
5.0
,
horizontal:
10.0
),
width:
double
.
infinity
,
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
),
)
],
);
}),
),
),
],
),
),
...
...
@@ -105,48 +138,18 @@ class _PoemDetailPageState extends State<PoemDetailPage> {
),
),
),
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:
()
{},
)
],
),
// 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