reason

页面长度超出问题

......@@ -74,7 +74,7 @@ class _PoemRecordAudioPageState extends State<PoemRecordAudioPage> {
margin:
EdgeInsets.symmetric(vertical: 20.px, horizontal: 20.px),
height: MediaQuery.of(context).size.height -
110.px -
120.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: startRecord,
stopRecord: stopRecord,
// 加入定制化Container的相关属性
height: 40.px,
SizedBox(
width: double.infinity,
height: 80.px,
child: PoemVoiceWidget(
startRecord: startRecord,
stopRecord: stopRecord,
// 加入定制化Container的相关属性
height: 40.px,
),
),
),
],
),
],
],
),
],
),
),
),
),
......