useAsImageFromRepaintBoundary method

Future<WallpaperResult> useAsImageFromRepaintBoundary(
  1. GlobalKey<State<StatefulWidget>> boundaryKey, {
  2. double pixelRatio = 2.5,
})

Shares / uses an image captured from a RepaintBoundary.

Implementation

Future<WallpaperResult> useAsImageFromRepaintBoundary(
  GlobalKey boundaryKey, {
  double pixelRatio = 2.5,
}) {
  throw UnimplementedError(
      'useAsImageFromRepaintBoundary() has not been implemented.');
}