/opt/canhelp/apps/mobile/windows/runner
NameSizeModeActions
resources/-0755rm
CMakeLists.txt17960644editdlrm
flutter_window.cpp21220644editdlrm
flutter_window.h9280644editdlrm
main.cpp12600644editdlrm
resource.h4320644editdlrm
runner.exe.manifest6020644editdlrm
Runner.rc30250644editdlrm
utils.cpp17970644editdlrm
utils.h6720644editdlrm
win32_window.cpp85340644editdlrm
win32_window.h35220644editdlrm
Edit: /opt/canhelp/apps/mobile/windows/runner/flutter_window.h (928B)
#ifndef RUNNER_FLUTTER_WINDOW_H_ #define RUNNER_FLUTTER_WINDOW_H_ #include #include #include #include "win32_window.h" // A window that does nothing but host a Flutter view. class FlutterWindow : public Win32Window { public: // Creates a new FlutterWindow hosting a Flutter view running |project|. explicit FlutterWindow(const flutter::DartProject& project); virtual ~FlutterWindow(); protected: // Win32Window: bool OnCreate() override; void OnDestroy() override; LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, LPARAM const lparam) noexcept override; private: // The project to run. flutter::DartProject project_; // The Flutter instance hosted by this window. std::unique_ptr flutter_controller_; }; #endif // RUNNER_FLUTTER_WINDOW_H_