Skip to content

Commit

Permalink
[sheet] fixed for Flutter 3.16 (jamesblasco#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
webhaikal authored and TasnimAnas committed Jul 13, 2024
1 parent 255fdc8 commit 31fe0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sheet/lib/src/sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ class RenderSheetViewport extends RenderBox

@override
RevealedOffset getOffsetToReveal(RenderObject target, double alignment,
{Rect? rect}) {
{Rect? rect, Axis? axis}) {
rect ??= target.paintBounds;
if (target is! RenderBox) {
return RevealedOffset(offset: offset.pixels, rect: rect);
Expand Down

0 comments on commit 31fe0d2

Please sign in to comment.