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