Update: 2026-06-25 02:55:24

This commit is contained in:
Hamza-Ayed
2026-06-25 02:55:24 +03:00
parent 98a8a2ae3d
commit 85e85fe4d3
11 changed files with 62 additions and 86 deletions

View File

@@ -16,10 +16,9 @@ class SplashScreen extends StatelessWidget {
Widget build(BuildContext context) {
final controller = Get.put(SplashScreenController());
final size = MediaQuery.of(context).size;
final isDark = Get.isDarkMode;
final bg = isDark ? const Color(0xFF0A0F1E) : AppColor.primaryColor;
final accent = AppColor.secondaryColorStatic;
final gold = AppColor.gold;
final bg = AppColor.primaryColor;
return SafeArea(
child: Scaffold(
@@ -37,8 +36,7 @@ class SplashScreen extends StatelessWidget {
end: Alignment.bottomRight,
colors: [
bg,
Color.lerp(bg, accent.withOpacity(0.1),
controller.glowAnimation.value)!,
Color.lerp(bg, accent.withOpacity(0.08), controller.glowAnimation.value)!,
bg,
],
),
@@ -323,10 +321,12 @@ class _GlowProgressBar extends StatelessWidget {
return Stack(
children: [
Container(
height: 2,
decoration: BoxDecoration(
color: Colors.white.withOpacity(0.06),
borderRadius: BorderRadius.circular(2))),
height: 2,
decoration: BoxDecoration(
color: Colors.white.withOpacity(0.06),
borderRadius: BorderRadius.circular(2),
),
),
FractionallySizedBox(
widthFactor: value.clamp(0.0, 1.0),
child: Container(
@@ -337,9 +337,10 @@ class _GlowProgressBar extends StatelessWidget {
borderRadius: BorderRadius.circular(2),
boxShadow: [
BoxShadow(
color: accent.withOpacity(0.4),
blurRadius: 8,
spreadRadius: 1)
color: accent.withOpacity(0.4),
blurRadius: 8,
spreadRadius: 1,
),
],
),
),