chore: Add fancy hero animations

This commit is contained in:
Christian Pauly 2022-07-08 10:41:36 +02:00
commit 5558877c34
5 changed files with 71 additions and 53 deletions

View file

@ -39,10 +39,13 @@ class ChatAppBarTitle extends StatelessWidget {
: () => VRouter.of(context).toSegments(['rooms', room.id, 'details']),
child: Row(
children: [
Avatar(
mxContent: room.avatar,
name: room.displayname,
size: 32,
Hero(
tag: 'content_banner',
child: Avatar(
mxContent: room.avatar,
name: room.displayname,
size: 32,
),
),
const SizedBox(width: 12),
Expanded(