Basic publisher page

This commit is contained in:
2024-12-01 22:30:32 +08:00
parent 32739821ba
commit 23c5a1a23e
10 changed files with 347 additions and 21 deletions

View File

@ -273,13 +273,14 @@ class _PostContentHeader extends StatelessWidget {
),
onTap: () {
showPopover(
backgroundColor: Theme.of(context).colorScheme.surface,
context: context,
transition: PopoverTransition.other,
bodyBuilder: (context) => SizedBox(
width: 400,
child: PublisherPopoverCard(
data: data.publisher,
).padding(horizontal: 16, vertical: 16),
),
),
direction: PopoverDirection.bottom,
arrowHeight: 5,