chore: Follow up scrolldownbutton style

This commit is contained in:
Krille 2023-06-04 11:14:06 +02:00
parent 908d428220
commit cacab45fe3
No known key found for this signature in database

View File

@ -191,14 +191,13 @@ class ChatView extends StatelessWidget {
title: ChatAppBarTitle(controller),
actions: _appBarActions(context),
),
floatingActionButtonLocation:
FloatingActionButtonLocation.centerFloat,
floatingActionButton: controller.showScrollDownButton &&
controller.selectedEvents.isEmpty
? Padding(
padding: const EdgeInsets.only(bottom: 56.0),
child: FloatingActionButton(
onPressed: controller.scrollDown,
heroTag: null,
mini: true,
child: const Icon(Icons.arrow_downward_outlined),
),