Skip to content

Commit

Permalink
fix: use logicalConstraints instead of size
Browse files Browse the repository at this point in the history
Co-authored-by: Shawn <shawn@gskinner.com>
  • Loading branch information
ABausG and esDotDev committed Mar 24, 2024
1 parent 2fdc26e commit f5eeec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/home_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class HomeWidget {
child: repaintBoundary,
),
configuration: ViewConfiguration(
size: logicalSize,
logicalConstraints: BoxConstraints.tight(logicalSize),
devicePixelRatio: 1.0,
),
);
Expand Down

0 comments on commit f5eeec0

Please sign in to comment.