'create' and 'getTitle()' (and presumably other methods) throw MissingPluginException on macos
Current bug behaviour
When calling 'create', I see [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method create on channel multi_window_macos).
On which platform is this bug happening
- [O] MacOS
-
Linux -
Windows
Steps to reproduce
just call MultiWindow.create('testWindow');
Expected behaviour
I expected a new window to pop up
Log information
flutter: Initializing unknown
flutter: [main] Initialized
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method create on channel multi_window_macos)
#0 MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:313
<asynchronous suspension>
#1 MultiWindowMacOS.create
package:multi_window_macos/multi_window_macos.dart:34
<asynchronous suspension>
#2 MultiWindow.create
package:multi_window/multi_window.dart:78
<asynchronous suspension>
Flutter doctor output
[✓] Flutter (Channel master, 3.7.0-15.0.pre.16, on macOS 12.5.1 21G83 darwin-arm64, locale en-US)
• Flutter version 3.7.0-15.0.pre.16 on channel master at /Users/<username>/dev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7ddf42eae5 (2 days ago), 2023-01-06 17:44:44 -0500
• Engine revision 33d7f8a1b3
• Dart version 3.0.0 (build 3.0.0-85.0.dev)
• DevTools version 2.20.0
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] VS Code (version 1.73.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.56.0
[✓] VS Code (version 1.74.1)
• VS Code at /Users/<username>/Desktop/Visual Studio Code.app/Contents
• Flutter extension version 3.56.0
[✓] VS Code (version 1.69.1)
• VS Code at /Users/<username>/Visual Studio Code.app/Contents
• Flutter extension version 3.56.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.5.1 21G83 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.124
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 2 categories.