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
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
AnimatedContainer(
|
||||||
),
|
|
||||||
bottomNavigationBar: AnimatedContainer(
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
boxShadow: [
|
boxShadow: [
|
||||||
BoxShadow(
|
BoxShadow(
|
||||||
|
@ -206,9 +204,7 @@ class _MessagesListState extends State<MessagesList> with SingleTickerProviderSt
|
||||||
],
|
],
|
||||||
color: Theme.of(context).colorScheme.background,
|
color: Theme.of(context).colorScheme.background,
|
||||||
),
|
),
|
||||||
padding: MediaQuery
|
padding: const EdgeInsets.symmetric(horizontal: 4),
|
||||||
.of(context)
|
|
||||||
.viewInsets + const EdgeInsets.symmetric(horizontal: 4),
|
|
||||||
duration: const Duration(milliseconds: 250),
|
duration: const Duration(milliseconds: 250),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
|
@ -287,6 +283,8 @@ class _MessagesListState extends State<MessagesList> with SingleTickerProviderSt
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue