| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::CursorHandler Class Reference

`#include <cursor_handler.h>`

## Public Member Functions
| CursorHandler (flutter::BinaryMessenger *messenger, flutter::FlutterWindowsEngine *engine)

## Detailed Description

Definition at line 22 of file cursor_handler.h.

## Constructor & Destructor Documentation

## ◆ CursorHandler()

flutter::CursorHandler::CursorHandler | ( | flutter::BinaryMessenger * | messenger,
|  | flutter::FlutterWindowsEngine * | engine
| ) |  |
| explicit

Definition at line 49 of file cursor_handler.cc.

51 : channel_(std::make_unique<MethodChannel<EncodableValue>>(
52 messenger,
53 kChannelName,
54 &StandardMethodCodec::GetInstance())),
55 engine_(engine) {
56 channel_->SetMethodCallHandler(
57 [this](const MethodCall<EncodableValue>& call,
58 std::unique_ptr<MethodResult<EncodableValue>> result) {
59 HandleMethodCall(call, std::move(result));
60 });
61 }
flutter::StandardMethodCodec::GetInstance
static const StandardMethodCodec & GetInstance(const StandardCodecSerializer *serializer=nullptr)
Definition: standard_codec.cc:341
kChannelName
static constexpr char kChannelName[]
Definition: cursor_handler.cc:12

The documentation for this class was generated from the following files:

- shell/platform/windows/cursor_handler.h
- shell/platform/windows/cursor_handler.cc