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-02 00:13:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
174864bdb0416bf483521b2c6af11ec01d878fcc
174864bd
1 parent
e51a41f9
页面长度超出问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
33 deletions
lib/poem/page/poem_record_audio.dart
lib/poem/page/poem_record_audio.dart
View file @
174864b
...
...
@@ -74,7 +74,7 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> {
margin:
EdgeInsets
.
symmetric
(
vertical:
20
.
px
,
horizontal:
20
.
px
),
height:
MediaQuery
.
of
(
context
).
size
.
height
-
1
1
0
.
px
-
1
2
0
.
px
-
widget
.
poemPanelHeight
,
width:
double
.
infinity
,
decoration:
BoxDecoration
(
...
...
@@ -94,41 +94,43 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> {
),
child:
Padding
(
padding:
EdgeInsets
.
all
(
10
.
px
),
child:
Flex
(
direction:
Axis
.
vertical
,
children:
[
PoemContent
(
title:
"题破山寺后禅院"
,
author:
"常建"
,
poemStr:
poemStr
,
fontSize:
20
.
px
,
),
Stack
(
alignment:
Alignment
.
center
,
children:
[
Positioned
(
left:
10
.
px
,
child:
IconButton
(
icon:
Icon
(
Icons
.
camera_alt_outlined
,
size:
28
.
px
,
child:
SingleChildScrollView
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
[
PoemContent
(
title:
"题破山寺后禅院"
,
author:
"常建"
,
poemStr:
poemStr
,
fontSize:
22
.
px
,
),
Stack
(
alignment:
Alignment
.
center
,
children:
[
Positioned
(
left:
10
.
px
,
child:
IconButton
(
icon:
Icon
(
Icons
.
camera_alt_outlined
,
size:
28
.
px
,
),
onPressed:
()
{},
),
onPressed:
()
{},
),
),
SizedBox
(
width:
double
.
infinity
,
height:
80
.
px
,
child:
PoemVoiceWidget
(
startRecord:
start
Record
,
stopRecord:
stopRecord
,
// 加入定制化Container的相关属性
height:
40
.
px
,
SizedBox
(
width:
double
.
infinity
,
height:
80
.
px
,
child:
PoemVoiceWidget
(
startRecord:
startRecord
,
stopRecord:
stop
Record
,
// 加入定制化Container的相关属性
height:
40
.
px
,
)
,
),
)
,
]
,
)
,
]
,
]
,
)
,
]
,
)
,
),
),
),
...
...
Please
register
or
login
to post a comment