refact: add color gradient
This commit is contained in:
parent
0cf104c5d9
commit
3359304d7a
|
@ -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),
|
||||||
],
|
],
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue