mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 06:55:12 +00:00
chore: Follow up new message animation
This commit is contained in:
parent
3d7dbf7ddf
commit
6599d28676
1 changed files with 3 additions and 1 deletions
|
@ -147,8 +147,10 @@ class Message extends StatelessWidget {
|
||||||
return AnimatedSize(
|
return AnimatedSize(
|
||||||
duration: FluffyThemes.animationDuration,
|
duration: FluffyThemes.animationDuration,
|
||||||
curve: FluffyThemes.animationCurve,
|
curve: FluffyThemes.animationCurve,
|
||||||
|
clipBehavior: Clip.none,
|
||||||
|
alignment: ownMessage ? Alignment.bottomRight : Alignment.bottomLeft,
|
||||||
child: animateIn
|
child: animateIn
|
||||||
? const SizedBox.shrink()
|
? const SizedBox(height: 0, width: double.infinity)
|
||||||
: Stack(
|
: Stack(
|
||||||
children: [
|
children: [
|
||||||
Positioned(
|
Positioned(
|
||||||
|
|
Loading…
Reference in a new issue