chore: Add fancy hero animations
This commit is contained in:
parent
4e95e45c5f
commit
5558877c34
5 changed files with 71 additions and 53 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue