💫 Optimize chat event list animation

This commit is contained in:
LittleSheep 2024-08-02 14:14:09 +08:00
parent bc3401a897
commit 98cc313a91

View File

@ -84,8 +84,8 @@ class ChatEventList extends StatelessWidget {
); );
}, },
).animate(key: Key('m-animation${item.uuid}')).slideY( ).animate(key: Key('m-animation${item.uuid}')).slideY(
duration: 500.ms, duration: 250.ms,
curve: Curves.easeInOut, curve: Curves.fastEaseInToSlowEaseOut,
end: 0, end: 0,
begin: 0.5, begin: 0.5,
); );