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 @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
width: 96, width: 86,
height: 96, height: 86,
decoration: BoxDecoration( decoration: BoxDecoration(
shape: BoxShape.circle, shape: BoxShape.circle,
color: const Color.fromARGB(223, 67, 63, 179), 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: 0, left: 0, right: 0, child: MainMenu()),
Positioned( Positioned(
bottom: 1, bottom: 5,
left: MediaQuery.of(context).size.width / 2 - 48, left: MediaQuery.of(context).size.width / 2 - 43,
child: Transform.translate( child: Transform.translate(
offset: Offset(0, -20), offset: Offset(0, -20),
child: ScanButton(), child: ScanButton(),

View File

@ -149,8 +149,8 @@ class _KoleksiScreenState extends State<KoleksiScreen> {
), ),
Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()), Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()),
Positioned( Positioned(
bottom: 1, bottom: 5,
left: MediaQuery.of(context).size.width / 2 - 48, left: MediaQuery.of(context).size.width / 2 - 43,
child: Transform.translate( child: Transform.translate(
offset: Offset(0, -20), offset: Offset(0, -20),
child: ScanButton(), child: ScanButton(),

View File

@ -67,7 +67,7 @@ class _PustakaScreenState extends State<PustakaScreen> {
.toList(); .toList();
return Scaffold( return Scaffold(
// backgroundColor: const Color.fromARGB(255, 255, 255, 255), backgroundColor: const Color.fromARGB(255, 255, 255, 255),
body: Stack( body: Stack(
children: [ children: [
//Top Bar //Top Bar
@ -290,8 +290,8 @@ class _PustakaScreenState extends State<PustakaScreen> {
], ],
), ),
Positioned( Positioned(
bottom: 1, bottom: 5,
left: MediaQuery.of(context).size.width / 2 - 48, left: MediaQuery.of(context).size.width / 2 - 43,
child: Transform.translate( child: Transform.translate(
offset: Offset(0, -20), offset: Offset(0, -20),
child: ScanButton(), child: ScanButton(),

View File

@ -341,8 +341,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
), ),
Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()), Positioned(bottom: 0, left: 0, right: 0, child: MainMenu()),
Positioned( Positioned(
bottom: 1, bottom: 5,
left: MediaQuery.of(context).size.width / 2 - 48, left: MediaQuery.of(context).size.width / 2 - 43,
child: Transform.translate( child: Transform.translate(
offset: Offset(0, -20), offset: Offset(0, -20),
child: ScanButton(), child: ScanButton(),