selection_hook_flutter_bindings_generated library
Classes
- SelectionHook
- SelectionHookFlutterBindings
-
Bindings for
src/bridge/c_api.h. - SHKeyboardEventData
- Keyboard event data.
- SHMouseEventData
- Mouse/wheel event data.
- SHPoint
- 2D coordinate in screen pixels.
- SHSelectionConfig
- Configuration for text selection monitoring. All fields are optional — pass 0 for defaults.
- SHSelectionData
- Text selection data returned via callback or sh_get_current_selection.
Enums
- SHPositionLevel
- Position level identifiers.
- SHSelectionMethod
- Selection method identifiers.
Constants
- SH_ERR_ALREADY_RUNNING → const int
- SH_ERR_GENERIC → const int
- SH_ERR_INVALID_ARG → const int
- SH_ERR_NOT_RUNNING → const int
- SH_ERR_NOT_TRUSTED → const int
- SH_OK → const int
Typedefs
-
DartSHKeyboardCallbackFunction
= void Function(Pointer<
SHKeyboardEventData> data) -
DartSHMouseCallbackFunction
= void Function(Pointer<
SHMouseEventData> data) -
DartSHSelectionCallbackFunction
= void Function(Pointer<
SHSelectionData> data) -
SHKeyboardCallback
= Pointer<
NativeFunction< SHKeyboardCallbackFunction> > - Keyboard event callback. data valid only during callback.
-
SHKeyboardCallbackFunction
= Void Function(Pointer<
SHKeyboardEventData> data) -
SHMouseCallback
= Pointer<
NativeFunction< SHMouseCallbackFunction> > - Mouse event callback. data valid only during callback.
-
SHMouseCallbackFunction
= Void Function(Pointer<
SHMouseEventData> data) -
SHSelectionCallback
= Pointer<
NativeFunction< SHSelectionCallbackFunction> > - Text selection callback.
-
SHSelectionCallbackFunction
= Void Function(Pointer<
SHSelectionData> data)