Custom reaction via sticker

This commit is contained in:
2025-10-12 23:18:58 +08:00
parent 3604373a1e
commit ce12f28e56
6 changed files with 366 additions and 68 deletions

View File

@@ -282,13 +282,14 @@ class _StickersGrid extends StatelessWidget {
Future<void> showStickerPickerPopover(
BuildContext context,
Offset offset, {
Alignment? alignment,
required void Function(String placeholder) onPick,
}) async {
// Use flutter_popup_card to present the anchored popup near trigger.
await showPopupCard<void>(
context: context,
offset: offset,
alignment: Alignment.topLeft,
alignment: alignment ?? Alignment.topLeft,
dimBackground: true,
builder:
(ctx) => SizedBox(