screen_retriever library

Displays and the cursor position, from nativeapi's DisplayManager.

Code written for screen_retriever 0.2.x imports package:screen_retriever/legacy.dart instead.

nativeapi's Point, Size and Rectangle are not exported, as Flutter has its own Size; convert with toOffset(), toSize() and toRect().

Extensions

NativeSizeToSize on Size
Converts a nativeapi na.Size to a Flutter ui.Size.
PointToOffset on Point
Converts a nativeapi na.Point to a Flutter ui.Offset.
RectangleToRect on Rectangle
Converts a nativeapi na.Rectangle to a Flutter ui.Rect.

Typedefs

DisplayId = int
ListenerId = int
Identifies one registered event listener.