diff --git a/lib/imgy.dart b/lib/imgy.dart index b92710b..4146573 100644 --- a/lib/imgy.dart +++ b/lib/imgy.dart @@ -127,7 +127,14 @@ class ImgyState extends State { builder: (BuildContext context, StateSetter setState) { return Stack( children: [ - ImgyFullScreen(widget: widget), + Positioned.fill( + child: RepaintBoundary( + key: globalKey, + child: ImgyFullScreen( + widget: widget, + ), + ), + ), ImgyHeader( widget: widget, status: imageStatus,