scan button

This commit is contained in:
='fauz 2025-04-14 15:29:03 +07:00
parent 6607ee4906
commit 3bc40dd46e
5 changed files with 11 additions and 11 deletions

View File

@ -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),

View File

@ -239,8 +239,8 @@ class _HomeScreenState extends State<HomeScreen> {
),
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(),

View File

@ -149,8 +149,8 @@ class _KoleksiScreenState extends State<KoleksiScreen> {
),
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(),

View File

@ -67,7 +67,7 @@ class _PustakaScreenState extends State<PustakaScreen> {
.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<PustakaScreen> {
],
),
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(),

View File

@ -341,8 +341,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
),
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(),