chore: divider when scrolled up
This commit is contained in:
parent
b645193f7b
commit
8956f81e4e
1 changed files with 7 additions and 10 deletions
|
|
@ -283,13 +283,14 @@ class ChatView extends StatelessWidget {
|
||||||
child: ChatEventList(controller: controller),
|
child: ChatEventList(controller: controller),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (controller.showScrollDownButton)
|
||||||
|
Divider(
|
||||||
|
height: 1,
|
||||||
|
color: theme.dividerColor,
|
||||||
|
),
|
||||||
if (controller.room.isExtinct)
|
if (controller.room.isExtinct)
|
||||||
Container(
|
Container(
|
||||||
margin: EdgeInsets.only(
|
margin: EdgeInsets.all(bottomSheetPadding),
|
||||||
bottom: bottomSheetPadding,
|
|
||||||
left: bottomSheetPadding,
|
|
||||||
right: bottomSheetPadding,
|
|
||||||
),
|
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
child: ElevatedButton.icon(
|
child: ElevatedButton.icon(
|
||||||
icon: const Icon(Icons.chevron_right),
|
icon: const Icon(Icons.chevron_right),
|
||||||
|
|
@ -300,11 +301,7 @@ class ChatView extends StatelessWidget {
|
||||||
else if (controller.room.canSendDefaultMessages &&
|
else if (controller.room.canSendDefaultMessages &&
|
||||||
controller.room.membership == Membership.join)
|
controller.room.membership == Membership.join)
|
||||||
Container(
|
Container(
|
||||||
margin: EdgeInsets.only(
|
margin: EdgeInsets.all(bottomSheetPadding),
|
||||||
bottom: bottomSheetPadding,
|
|
||||||
left: bottomSheetPadding,
|
|
||||||
right: bottomSheetPadding,
|
|
||||||
),
|
|
||||||
constraints: const BoxConstraints(
|
constraints: const BoxConstraints(
|
||||||
maxWidth: FluffyThemes.columnWidth * 2.5,
|
maxWidth: FluffyThemes.columnWidth * 2.5,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue