getScreenShot abstract method

Future<Uint8List> getScreenShot({
  1. int x,
  2. int y,
  3. int width,
  4. int height,
})

Return a Uint8List to the screenshot of the specified range of the current screen

x and y are the starting coordinates relative to the upper left corner 0, 0 width is the width to be intercepted height is the height to be intercepted

Implementation

Future<Uint8List> getScreenShot({
  int x,
  int y,
  int width,
  int height,
});