add toolbar to comments

This commit is contained in:
Filip Krawczyk 2022-08-21 23:09:25 +02:00
parent 1fcc95d6b9
commit 4cd8b9855c
1 changed files with 44 additions and 27 deletions

View File

@ -99,7 +99,9 @@ class WriteComment extends HookWidget {
),
],
),
body: ListView(
body: Stack(
children: [
ListView(
children: [
ConstrainedBox(
constraints: BoxConstraints(
@ -130,6 +132,21 @@ class WriteComment extends HookWidget {
)
],
),
Toolbar.safeArea,
],
),
SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Spacer(),
Toolbar(
controller: controller,
instanceHost: post.instanceHost,
),
],
),
),
],
),
);