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

@ -83,9 +83,12 @@ class StoryView extends StatelessWidget {
),
)
: null,
leading: Avatar(
mxContent: controller.avatar,
name: controller.title,
leading: Hero(
tag: 'stories_${controller.roomId}',
child: Avatar(
mxContent: controller.avatar,
name: controller.title,
),
),
),
actions: currentEvent == null