Skip to content

Commit

Permalink
support flutter v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Yermiyah committed Oct 9, 2023
1 parent 26d4dcb commit 28c97cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/home_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class HomeWidget {

try {
final RenderView renderView = RenderView(
view: ui.PlatformDispatcher.instance.implicitView!,
window: ui.PlatformDispatcher.instance.views.first,
child: RenderPositionedBox(
alignment: Alignment.center,
child: repaintBoundary,
Expand Down

0 comments on commit 28c97cb

Please sign in to comment.