From 3bc40dd46e4521ec8825782325381c23995b26c0 Mon Sep 17 00:00:00 2001 From: ='fauz <='fauzgabriel@gmail.com> Date: Mon, 14 Apr 2025 15:29:03 +0700 Subject: [PATCH] scan button --- lib/components/scan_button.dart | 4 ++-- lib/screen/Home_screen.dart | 4 ++-- lib/screen/koleksi_screen.dart | 4 ++-- lib/screen/pustaka_screen.dart | 6 +++--- lib/screen/saya/profile_screen.dart | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/components/scan_button.dart b/lib/components/scan_button.dart index 907ac8a..84ecf8b 100644 --- a/lib/components/scan_button.dart +++ b/lib/components/scan_button.dart @@ -8,8 +8,8 @@ class ScanButton extends StatelessWidget { @override Widget build(BuildContext context) { return Container( - width: 96, - height: 96, + width: 86, + height: 86, decoration: BoxDecoration( shape: BoxShape.circle, color: const Color.fromARGB(223, 67, 63, 179), diff --git a/lib/screen/Home_screen.dart b/lib/screen/Home_screen.dart index 1bfe52d..bed443f 100644 --- a/lib/screen/Home_screen.dart +++ b/lib/screen/Home_screen.dart @@ -239,8 +239,8 @@ class _HomeScreenState extends State { ), Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()), Positioned( - bottom: 1, - left: MediaQuery.of(context).size.width / 2 - 48, + bottom: 5, + left: MediaQuery.of(context).size.width / 2 - 43, child: Transform.translate( offset: Offset(0, -20), child: ScanButton(), diff --git a/lib/screen/koleksi_screen.dart b/lib/screen/koleksi_screen.dart index bf3628d..d36a597 100644 --- a/lib/screen/koleksi_screen.dart +++ b/lib/screen/koleksi_screen.dart @@ -149,8 +149,8 @@ class _KoleksiScreenState extends State { ), Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()), Positioned( - bottom: 1, - left: MediaQuery.of(context).size.width / 2 - 48, + bottom: 5, + left: MediaQuery.of(context).size.width / 2 - 43, child: Transform.translate( offset: Offset(0, -20), child: ScanButton(), diff --git a/lib/screen/pustaka_screen.dart b/lib/screen/pustaka_screen.dart index 535eb37..dbff797 100644 --- a/lib/screen/pustaka_screen.dart +++ b/lib/screen/pustaka_screen.dart @@ -67,7 +67,7 @@ class _PustakaScreenState extends State { .toList(); return Scaffold( - // backgroundColor: const Color.fromARGB(255, 255, 255, 255), + backgroundColor: const Color.fromARGB(255, 255, 255, 255), body: Stack( children: [ //Top Bar @@ -290,8 +290,8 @@ class _PustakaScreenState extends State { ], ), Positioned( - bottom: 1, - left: MediaQuery.of(context).size.width / 2 - 48, + bottom: 5, + left: MediaQuery.of(context).size.width / 2 - 43, child: Transform.translate( offset: Offset(0, -20), child: ScanButton(), diff --git a/lib/screen/saya/profile_screen.dart b/lib/screen/saya/profile_screen.dart index 39979a5..3565895 100644 --- a/lib/screen/saya/profile_screen.dart +++ b/lib/screen/saya/profile_screen.dart @@ -341,8 +341,8 @@ class _ProfileScreenState extends State { ), Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()), Positioned( - bottom: 1, - left: MediaQuery.of(context).size.width / 2 - 48, + bottom: 5, + left: MediaQuery.of(context).size.width / 2 - 43, child: Transform.translate( offset: Offset(0, -20), child: ScanButton(),