|
Flutter Windows Embedder
|
|
Go to the documentation of this file.
15 engine_ = std::make_shared<FlutterEngine>(project);
17 engine_->RelinquishEngine());
19 std::cerr <<
"Failed to create view controller." << std::endl;
22 view_ = std::make_unique<FlutterView>(
49 controller_, hwnd,
message, wparam, lparam, &result);
50 return handled ? result : std::optional<LRESULT>(std::nullopt);
bool FlutterDesktopViewControllerHandleTopLevelWindowProc(FlutterDesktopViewControllerRef ref, HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam, LRESULT *result)
FlutterDesktopViewRef FlutterDesktopViewControllerGetView(FlutterDesktopViewControllerRef ref)
FlutterViewId view_id() const
std::optional< LRESULT > HandleTopLevelWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
FlutterDesktopViewId FlutterDesktopViewControllerGetViewId(FlutterDesktopViewControllerRef ref)
FlutterViewController(int width, int height, const DartProject &project)
FlutterDesktopViewControllerRef FlutterDesktopViewControllerCreate(int width, int height, FlutterDesktopEngineRef engine)
void FlutterDesktopViewControllerForceRedraw(FlutterDesktopViewControllerRef ref)
void FlutterDesktopViewControllerDestroy(FlutterDesktopViewControllerRef ref)
virtual ~FlutterViewController()