refact: add color gradient

This commit is contained in:
pahmiudahgede 2025-05-17 17:11:33 +07:00
parent 0cf104c5d9
commit 3359304d7a
2 changed files with 11 additions and 2 deletions

View File

@ -60,7 +60,7 @@ class _HomeScreenState extends State<HomeScreen> {
Row( Row(
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
Icon(Iconsax.notification), Icon(Iconsax.notification_1),
Gap(10), Gap(10),
Icon(Iconsax.message_2), Icon(Iconsax.message_2),
], ],

View File

@ -25,7 +25,16 @@ class _ProfilScreenState extends State<ProfilScreen> {
child: Container( child: Container(
height: 180, height: 180,
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
color: primaryColor, decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
primaryColor,
secondaryColor,
], // Ganti dengan warna gradien pilihan Anda
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
),
), ),
), ),
Positioned( Positioned(