#ifndef FLUTTER_PLUGIN_CESIUMJS_PLUGIN_H_ #define FLUTTER_PLUGIN_CESIUMJS_PLUGIN_H_ #include G_BEGIN_DECLS #ifdef FLUTTER_PLUGIN_IMPL #define FLUTTER_PLUGIN_EXPORT __attribute__((visibility("default"))) #else #define FLUTTER_PLUGIN_EXPORT #endif // Native side of the `cesiumjs/webview` method channel. // // Flutter on Linux has no platform-view support, so each CesiumJS web view is // a real WebKitGTK widget stacked on top of the FlView inside a GtkOverlay. // The Dart `CesiumViewer` widget reports its on-screen rectangle and the // native widget is positioned to match. // // If the FlView is not already inside a GtkOverlay, registration wraps it in // one, so host apps need no runner changes. FLUTTER_PLUGIN_EXPORT void cesiumjs_plugin_register_with_registrar( FlPluginRegistrar* registrar); G_END_DECLS #endif // FLUTTER_PLUGIN_CESIUMJS_PLUGIN_H_