From ae864d6bc03a22c90ce8047e4725b7985fec638f Mon Sep 17 00:00:00 2001 From: Lucas Delanier Date: Wed, 26 Jul 2023 19:44:27 +0200 Subject: [PATCH] constant and profile page --- .../justMUSIC/lib/screens/profile_screen.dart | 26 ++++++++++++++----- Sources/justMUSIC/lib/values/constants.dart | 1 + 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/Sources/justMUSIC/lib/screens/profile_screen.dart b/Sources/justMUSIC/lib/screens/profile_screen.dart index b826802..9c544b5 100644 --- a/Sources/justMUSIC/lib/screens/profile_screen.dart +++ b/Sources/justMUSIC/lib/screens/profile_screen.dart @@ -50,13 +50,25 @@ class _ProfileScreenState extends State { height: double.infinity, color: bgColor, child: SingleChildScrollView( - child: Column( - children: [ - Padding( - padding: EdgeInsets.only(top: 68.h), - child: ProfileComponent(), - ), - ], + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: settingPadding), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Padding( + padding: EdgeInsets.only(top: 68.h), + child: ProfileComponent(), + ), + Text( + "Compte", + style: GoogleFonts.plusJakartaSans( + color: grayText, + fontWeight: FontWeight.w800, + fontSize: 16), + ), + ], + ), ), ), ), diff --git a/Sources/justMUSIC/lib/values/constants.dart b/Sources/justMUSIC/lib/values/constants.dart index e1119e3..fd0d761 100644 --- a/Sources/justMUSIC/lib/values/constants.dart +++ b/Sources/justMUSIC/lib/values/constants.dart @@ -21,3 +21,4 @@ const grayText = Color(0xFF898989); // All constants important too us const defaultPadding = 30.0; +const settingPadding = 12.0;