Created
August 16, 2024 01:12
-
-
Save linzj/4f02e95d1d691dee84107b26c126b596 to your computer and use it in GitHub Desktop.
flutter app get native window
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| flutter::PluginRegistrarWindows* registrar = | |
| flutter::PluginRegistrarManager::GetInstance() | |
| ->GetRegistrar<flutter::PluginRegistrarWindows>(plugin_registrar_ref); | |
| auto native_window = registrar->GetView()->GetNativeWindow(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment