external_display 0.5.3
external_display: ^0.5.3 copied to clipboard
The Flutter plugin supports connecting to an external display via wired or wireless connections. The main view and the external display view can exchange data with each other.
0.5.3 #
Fixed #
- Android: Parse MethodChannel arguments as a
Mapinstead ofJSONObject("${call.arguments}"), which could fail at runtime becauseMap.toString()is not valid JSON.
Changed #
- Android plugin package/namespace renamed from
com.example.external_displaytocom.gavinfu.external_display. homepagenow points to the repository URL; iOS/macOS podspec metadata updated to match package version0.5.3.- Bumps
flutter_lintsto^6.0.0.
0.5.2 #
Fixed #
- macOS: Exiting fullscreen on an external window no longer crashes the app (
Could not create the embedder backing store). The main-window close observer now watches only the primary Flutter window, so AppKit transient windows created during fullscreen transitions no longer tear down the externalFlutterEngine.
Changed #
- macOS external windows use a standard titled style mask with
fullScreenPrimarycollection behavior, and session teardown now callsshutDownEngine()after detaching the view.
0.5.1 #
Added #
- iOS Swift Package Manager support (
ios/external_display/Package.swift).
Changed #
- Dart API return types are now explicit
Future<bool>forconnect,disconnect,createWindow,destroyWindow,waitingTransferParametersReady, andsendParameters. - Status listener type is
void Function(bool connecting); parameter listeners use dedicated typedefs. - Android/macOS tear down external sessions on unplug, reconnect, disconnect, and window close; external-view
sendParameterscompletes its MethodChannelresulton all platforms. - Migrates Android plugin to built-in Kotlin (
kotlin.compilerOptions) and raises the minimum Flutter SDK to 3.44 / Dart 3.12.
0.5.0 #
Added #
- iOS 27 UISceneAccessory support: On iOS 27+, external display content uses
UISceneAccessory.externalNonInteractiveandExternalDisplaySceneDelegateinstead of the legacyUIWindow.screenpath. - Example app adopts the Flutter UIScene lifecycle (
UIApplicationSceneManifest+FlutterPluginRegistrant).
Changed #
- iOS
disconnectand scene teardown now destroy the externalFlutterEngineto avoid leaking a second Flutter runtime. - External-view
sendParametersnow completes its MethodChannelresult.
0.4.2 #
Fixed #
- Fixed abnormal display resolution issues after repeatedly connecting/disconnecting different external displays.
0.4.0 #
0.3.1 #
Fixed #
- Fixed an issue where popup dialogs from other Flutter plugins would incorrectly appear on external displays.
