new chnages in the attendence page is made

This commit is contained in:
Daniah Ayad Al-sultani
2025-12-02 13:49:08 +03:00
parent 5c48fc280c
commit 2bfeabe586

View File

@@ -23,10 +23,7 @@ class AttendanceScreen extends StatelessWidget {
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
color: Colors.white, color: Colors.white,
shadows: [ shadows: [
Shadow( Shadow(color: const Color(0x42000000), blurRadius: 6),
color: const Color(0x42000000),
blurRadius: 6,
),
], ],
), ),
), ),
@@ -56,7 +53,7 @@ class AttendanceScreen extends StatelessWidget {
// BOTTOM-LEFT GREEN GLOW // BOTTOM-LEFT GREEN GLOW
const BoxShadow( const BoxShadow(
color: Color.fromARGB(171, 206, 206, 206), color: Color(0xABCECECE),
blurRadius: 5, blurRadius: 5,
spreadRadius: 2, spreadRadius: 2,
offset: Offset(-2, 5), offset: Offset(-2, 5),
@@ -64,7 +61,7 @@ class AttendanceScreen extends StatelessWidget {
// LIGHT GLOBAL GLOW // LIGHT GLOBAL GLOW
BoxShadow( BoxShadow(
color: const Color(0x5532C59A), color: Color.fromARGB(148, 2, 70, 35),
blurRadius: 80, blurRadius: 80,
offset: const Offset(0, 10), offset: const Offset(0, 10),
), ),
@@ -98,7 +95,7 @@ class AttendanceScreen extends StatelessWidget {
shadow: const [ shadow: const [
// Strong BLACK shadow bottom-right // Strong BLACK shadow bottom-right
BoxShadow( BoxShadow(
color: Color(0x99000000), color: Color(0x62000000),
blurRadius: 10, blurRadius: 10,
spreadRadius: 5, spreadRadius: 5,
offset: Offset(5, 5), offset: Offset(5, 5),
@@ -116,20 +113,28 @@ class AttendanceScreen extends StatelessWidget {
icon: "assets/images/logout.svg", icon: "assets/images/logout.svg",
label: "تسجيل خروج", label: "تسجيل خروج",
), ),
shadow: const [
// GREEN glow top-left // GREEN glow top-left
shadow: const [
// Strong BLACK shadow bottom-right
BoxShadow( BoxShadow(
color: Color(0x5FEEFFFA), color: Color(0xABCECECE),
blurRadius: 5, blurRadius: 5,
spreadRadius: 1, spreadRadius: 3,
offset: Offset(-5, -5), offset: Offset(-6, -6),
), ),
// Soft dark bottom shadow // LIGHT GLOBAL GLOW
BoxShadow( BoxShadow(
color: Color(0x44000000), color: Color(0x92014221),
blurRadius: 25, blurRadius: 10,
offset: Offset(0, 14), offset: Offset(-5, -5),
),
BoxShadow(
color: Color(0x7D1A1A1A),
blurRadius: 10,
spreadRadius: 3,
offset: Offset(5, 5),
), ),
], ],
), ),
@@ -145,10 +150,7 @@ class _ShadowedCard extends StatelessWidget {
final Widget child; final Widget child;
final List<BoxShadow> shadow; final List<BoxShadow> shadow;
const _ShadowedCard({ const _ShadowedCard({required this.child, required this.shadow});
required this.child,
required this.shadow,
});
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@@ -175,10 +177,7 @@ class _FingerButton extends StatelessWidget {
final String icon; final String icon;
final String label; final String label;
const _FingerButton({ const _FingerButton({required this.icon, required this.label});
required this.icon,
required this.label,
});
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {