💫 Animated chat

This commit is contained in:
LittleSheep 2024-08-02 04:24:12 +08:00
parent cccb3d5c16
commit 70617be687

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart';
import 'package:get/get.dart';
import 'package:solian/controllers/chat_events_controller.dart';
import 'package:solian/models/channel.dart';
@ -82,6 +83,11 @@ class ChatEventList extends StatelessWidget {
),
);
},
).animate(key: Key('m-animation${item.uuid}')).slideY(
duration: 500.ms,
curve: Curves.easeInOut,
end: 0,
begin: 0.5,
);
},
);