Skip to content

Commit 084c564

Browse files
committed
update
1 parent d061b41 commit 084c564

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/route_manager.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class RouteManager extends StatelessWidget {
5353
pod: controller.pRouteState,
5454
cacheDuration: null,
5555
builder: (context, snapshot) {
56-
Widget child = RepaintBoundary(child: controller.buildScreen(context, snapshot.value!));
56+
Widget child;
57+
child = RepaintBoundary(child: controller.buildScreen(context, snapshot.value!));
5758
if (clipToBounds) {
5859
child = ClipRect(child: child);
5960
}

0 commit comments

Comments
 (0)