snapshot_widget library

Classes

ImageSnapshotUtility
SnapshotController
SnapshotUtility
How to used: final GlobalKey _globalKey = GlobalKey(); final renderRepaintBoundary = _globalKey.currentContext.findRenderObject(); final imageSnapshotUtility = ImageSnapshotUtility(); final imageBytes = imageSnapshotUtility.toByteData(_globalKey.currentContext.findRenderObject(), pixelRatio: 16 / 9);
SnapshotWidget