💫 Animated chat
This commit is contained in:
parent
cccb3d5c16
commit
70617be687
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_animate/flutter_animate.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
import 'package:solian/controllers/chat_events_controller.dart';
|
import 'package:solian/controllers/chat_events_controller.dart';
|
||||||
import 'package:solian/models/channel.dart';
|
import 'package:solian/models/channel.dart';
|
||||||
@ -82,7 +83,12 @@ class ChatEventList extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
).animate(key: Key('m-animation${item.uuid}')).slideY(
|
||||||
|
duration: 500.ms,
|
||||||
|
curve: Curves.easeInOut,
|
||||||
|
end: 0,
|
||||||
|
begin: 0.5,
|
||||||
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user