refact: add color gradient
This commit is contained in:
parent
0cf104c5d9
commit
3359304d7a
|
@ -60,7 +60,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Icon(Iconsax.notification),
|
||||
Icon(Iconsax.notification_1),
|
||||
Gap(10),
|
||||
Icon(Iconsax.message_2),
|
||||
],
|
||||
|
|
|
@ -25,7 +25,16 @@ class _ProfilScreenState extends State<ProfilScreen> {
|
|||
child: Container(
|
||||
height: 180,
|
||||
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(
|
||||
|
|
Loading…
Reference in New Issue