Improve responsiveness of bottom inset in message view
This commit is contained in:
parent
ece488d177
commit
57cbd4370b
1 changed files with 85 additions and 87 deletions
|
@ -193,9 +193,7 @@ class _MessagesListState extends State<MessagesList> with SingleTickerProviderSt
|
|||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
bottomNavigationBar: AnimatedContainer(
|
||||
AnimatedContainer(
|
||||
decoration: BoxDecoration(
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
|
@ -206,9 +204,7 @@ class _MessagesListState extends State<MessagesList> with SingleTickerProviderSt
|
|||
],
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
),
|
||||
padding: MediaQuery
|
||||
.of(context)
|
||||
.viewInsets + const EdgeInsets.symmetric(horizontal: 4),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4),
|
||||
duration: const Duration(milliseconds: 250),
|
||||
child: Row(
|
||||
children: [
|
||||
|
@ -287,6 +283,8 @@ class _MessagesListState extends State<MessagesList> with SingleTickerProviderSt
|
|||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue