[Bugfix] Wrap body in SafeArea for improved layout (#9)

Wrapped the `body` widget in a `SafeArea` widget to prevent content from
being obscured by notches, status bars, or other screen intrusions. #6

---------

Co-authored-by: PartyDonut <42371342+PartyDonut@users.noreply.github.com>
This commit is contained in:
Rafael 2024-10-14 17:08:29 +02:00 committed by GitHub
parent dddf72241d
commit 4b846f4a51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,6 +55,7 @@ class _SyncItemDetailsState extends ConsumerState<SyncItemDetails> {
return SyncMarkedForDelete( return SyncMarkedForDelete(
syncedItem: syncedItem, syncedItem: syncedItem,
child: SafeArea(
child: Padding( child: Padding(
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.all(16.0),
child: Column( child: Column(
@ -251,6 +252,7 @@ class _SyncItemDetailsState extends ConsumerState<SyncItemDetails> {
], ],
), ),
), ),
),
); );
} }
} }