Mobile and web versions

This commit is contained in:
2024-05-10 19:50:33 +03:00
parent 9d92dfd145
commit 4853f61da2
8 changed files with 317 additions and 255 deletions

View File

@@ -6,7 +6,7 @@ class GymLinkAppBar extends StatelessWidget implements PreferredSizeWidget {
@override
Widget build(BuildContext context) {
return AppBar(
backgroundColor: Colors.white,
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
shadowColor: null,
automaticallyImplyLeading: false,
elevation: 0,

View File

@@ -22,7 +22,7 @@ class ProductCard extends StatelessWidget {
constraints: const BoxConstraints(minHeight: 200),
child: Card(
elevation: 3,
color: const Color(0xFFF2F3F9),
color: Theme.of(context).scaffoldBackgroundColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16),
),