#ifndef RUNNER_FLUTTER_WINDOW_H_#define RUNNER_FLUTTER_WINDOW_H_#include <flutter/dart_project.h>#include <flutter/flutter_view_controller.h>#include <memory>#include "win32_window.h"// A window that does nothing but host a Flutter view.classFlutterWindow:publicWin32Window{public:// Creates a new FlutterWindow hosting a Flutter view running |project|.explicitFlutterWindow(constflutter::DartProject&project);virtual~FlutterWindow();protected:// Win32Window:boolOnCreate()override;voidOnDestroy()override;LRESULTMessageHandler(HWNDwindow,UINTconstmessage,WPARAMconstwparam,LPARAMconstlparam)noexceptoverride;private:// The project to run.flutter::DartProjectproject_;// The Flutter instance hosted by this window.std::unique_ptr<flutter::FlutterViewController>flutter_controller_;};#endif // RUNNER_FLUTTER_WINDOW_H_