79587107

Date: 2025-04-22 17:24:20
Score: 0.5
Natty:
Report link

Ah, yes. Setting the arrowDxOffset to an appropriate value will resolve the issue:

showPopover(
  context: context,
  width: 120.0,
  height: 50.0,
  arrowHeight: 15.0,
  arrowWidth: 30.0,
  arrowDxOffset: -110.0, // Add this line.
  direction: PopoverDirection.top,
  bodyBuilder: (_) {
    return Center(child: const Text('Popover'));
  },
);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: goofy4224