|
|
|
@ -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(
|
|
|
|
|