Skip to content

Commit

Permalink
Feat: add SafeArea.
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaZoteva committed Apr 20, 2022
1 parent 263fdcf commit 3480fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/flexible_bottom_sheet_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class _FlexibleBottomSheetRoute<T> extends PopupRoute<T> {
bottomSheet = Theme(data: theme!, child: bottomSheet);
}

return bottomSheet;
return isSafeArea ? SafeArea(child: bottomSheet) : bottomSheet;
}

@override
Expand Down

0 comments on commit 3480fd2

Please sign in to comment.