Skip to content

Commit

Permalink
Fix safe area on qr code read page
Browse files Browse the repository at this point in the history
  • Loading branch information
ademar111190 committed Sep 27, 2023
1 parent cbc2e9b commit 4acb084
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions lib/routes/qr_scan.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,26 @@ class QRScanState extends State<QRScan> {
],
),
),
Positioned(
right: 10,
top: 5,
child: ImagePickerButton(cameraController),
),
Positioned(
bottom: 30.0,
right: 0,
left: 0,
child: defaultTargetPlatform == TargetPlatform.iOS
? const QRScanCancelButton()
: const SizedBox(),
),
const ScanOverlay(),
SafeArea(
child: Stack(
children: [
Positioned(
right: 10,
top: 5,
child: ImagePickerButton(cameraController),
),
Positioned(
bottom: 30.0,
right: 0,
left: 0,
child: defaultTargetPlatform == TargetPlatform.iOS
? const QRScanCancelButton()
: const SizedBox(),
),
],
),
),
],
),
);
Expand Down

0 comments on commit 4acb084

Please sign in to comment.