Repository: flutter
Issue: `PopupMenuButton` has a weird behaviour when a horizontal offset is given
Labels: framework,f: material design,has reproducible steps,P2,found in release: 3.7,found in release: 3.11,team-design,triaged-design

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Run `flutter run` on the code example below 
2. Comment/uncomment the offset line (`offset: const Offset(1, 0)`) to notice the changes

### Expected results

I would expect the menu to be offset by the given offset. In the case of code sample, I would expect the menu to appear 1px more right than where it appears when no offset is given.

### Actual results

The position of the menu is shifted to the left.

### Code sample

<details><summary>Code sample</summary>

You can also check out https://github.com/ValentinVignal/flutter_app_stable/tree/flutter/popup-menu-button/weird-behavior-vertical-offset

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: PopupMenuButton(
            // offset: const Offset(1, 0),
            itemBuilder: (BuildContext context) => [
              const PopupMenuItem(
                child: Text('Item'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

With no offset:


https://user-images.githubusercontent.com/32538273/235595876-730fa6e2-bfce-4965-85e3-b1352fc175c5.mov

With `Offset(1, 0)`: 


https://user-images.githubusercontent.com/32538273/235596285-4826b8bd-f4f6-4f6c-8b8b-e71ac2781378.mov



</details>


### Logs

<details><summary>Logs</summary>

```console
Running "flutter pub get" in flutter_app_stable...
Launching lib/main.dart on macOS in debug mode...
Building macOS application...                                           
Syncing files to device macOS...                                   144ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on macOS is available at: http://127.0.0.1:60368/jOqwKL04gKs=/
The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:60368/jOqwKL04gKs=/
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[!] Flutter (Channel stable, 3.7.10, on macOS 13.3 22E252 darwin-x64, locale en-GB)
    • Flutter version 3.7.10 on channel stable at /Users/valentin/flutter/flutter
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.18.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
      /Users/valentin/flutter/flutter. Consider adding /Users/valentin/flutter/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b12645012 (4 weeks ago), 2023-04-03 17:46:48 -0700
    • Engine revision ec975089ac
    • Dart version 2.19.6
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /usr/local/Caskroom/android-sdk/4333796
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.77.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.3 22E252 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 112.0.5615.137

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
```

</details>