remove unused Expanded

This commit is contained in:
shilangyu 2020-10-25 11:30:46 +00:00
parent 665aeb51fb
commit 9ad58e44de
1 changed files with 18 additions and 20 deletions

View File

@ -100,27 +100,25 @@ class WriteComment extends HookWidget {
),
),
Divider(),
Expanded(
child: IndexedStack(
index: showFancy.value ? 1 : 0,
children: [
TextField(
controller: controller,
autofocus: true,
minLines: 5,
maxLines: null,
textAlignVertical: TextAlignVertical.top,
decoration: InputDecoration(border: OutlineInputBorder()),
IndexedStack(
index: showFancy.value ? 1 : 0,
children: [
TextField(
controller: controller,
autofocus: true,
minLines: 5,
maxLines: null,
textAlignVertical: TextAlignVertical.top,
decoration: InputDecoration(border: OutlineInputBorder()),
),
Padding(
padding: const EdgeInsets.all(16),
child: MarkdownText(
controller.text,
instanceUrl: instanceUrl,
),
Padding(
padding: const EdgeInsets.all(16),
child: MarkdownText(
controller.text,
instanceUrl: instanceUrl,
),
)
],
),
)
],
),
Row(
mainAxisAlignment: MainAxisAlignment.end,