Skip to content

Commit

Permalink
fix: ViewConfiguration.size deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhairs committed May 14, 2024
1 parent 7c40a87 commit 6d2a2a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

.packages
.pub/

.fvm
.fvmrc
build/
.idea

Expand Down
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.loose(logicalSize),
devicePixelRatio: 1.0,
),
);
Expand Down

0 comments on commit 6d2a2a0

Please sign in to comment.