From a3c27a23b94f94b814e67aa1e24fa2693b70791a Mon Sep 17 00:00:00 2001 From: ='fauz <='fauzgabriel@gmail.com> Date: Sat, 10 May 2025 16:14:57 +0700 Subject: [PATCH] okey --- lib/screen/saya/point_saya.dart | 93 ++++++++++++++++++++++++++++++++- 1 file changed, 92 insertions(+), 1 deletion(-) diff --git a/lib/screen/saya/point_saya.dart b/lib/screen/saya/point_saya.dart index 4253420..d4b701f 100644 --- a/lib/screen/saya/point_saya.dart +++ b/lib/screen/saya/point_saya.dart @@ -76,7 +76,7 @@ class _PointSayaState extends State { height: MediaQuery.of(context).size.height * 0.7, width: MediaQuery.of(context).size.width, decoration: BoxDecoration( - color: const Color.fromARGB(255, 137, 123, 69), + color: const Color.fromARGB(150, 137, 123, 69), borderRadius: BorderRadius.only( topLeft: Radius.circular(20), topRight: Radius.circular(20), @@ -85,6 +85,97 @@ class _PointSayaState extends State { child: Column( spacing: 10, children: [ + SizedBox(height: 4), + Padding( + padding: const EdgeInsets.all(8.0), + child: Container( + padding: EdgeInsets.symmetric( + horizontal: 20, + vertical: 10, + ), + decoration: BoxDecoration( + color: const Color.fromARGB(255, 191, 184, 184), + borderRadius: BorderRadius.circular(10), + boxShadow: [ + BoxShadow(color: Colors.black12, blurRadius: 8), + ], + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + SizedBox(height: 5), + Row( + children: [ + // Image.asset( + // 'assets/icons/diamond.png', + // width: 24, + // ), + Text( + "Total Point", + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.bold, + color: Colors.black87, + ), + ), + SizedBox(width: 8), + Text( + "300", + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.bold, + color: Colors.black87, + ), + ), + ], + ), + Row( + children: [ + // Image.asset('assets/icons/coin.png', width: 24), + Text( + "Total Koin", + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.bold, + color: Colors.black87, + ), + ), + SizedBox(width: 8), + Text( + "60", + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.bold, + color: Colors.black87, + ), + ), + ], + ), + SizedBox(height: 5), + ], + ), + ), + ), + Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Padding(padding: EdgeInsets.all(8)), + Container( + width: MediaQuery.of(context).size.width * 0.8, + child: Center( + child: Text( + "Riwayat poin dan koin", + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.bold, + color: Colors.white60, + ), + ), + ), + // color: Colors.amber, + ), + ], + ), PointsHeader(), Row( mainAxisAlignment: MainAxisAlignment.start,