bug : fixed

This commit is contained in:
2025-12-03 17:36:25 +03:00
parent 0ffb5c146d
commit 209080842a
17 changed files with 263 additions and 33 deletions

View File

@@ -104,29 +104,26 @@ class _LoginAnimationScreenState extends State<LoginAnimationScreen>
);
} else if (widget.isSuccess) {
// Success state - tick mark
return SvgPicture.asset(
"assets/images/tick.svg",
return Image.asset(
"assets/images/tick.png",
key: const ValueKey('success'),
width: 70,
height: 70,
placeholderBuilder: (context) => Icon(
Icons.check_circle,
size: 70,
color: const Color(0xFF32C59A),
),
width: 120,
height: 120,
fit: BoxFit.contain,
// placeholderBuilder: (context) => Icon(
// Icons.check_circle,
// size: 70,
// color: const Color(0xFF32C59A),
// ),
);
} else {
// Error state - error icon
return SvgPicture.asset(
"assets/images/error.svg",
return Image.asset(
"assets/images/error.png",
key: const ValueKey('error'),
width: 70,
height: 70,
placeholderBuilder: (context) => Icon(
Icons.error,
size: 70,
color: Colors.red,
),
width: 120,
height: 120,
fit: BoxFit.contain,
);
}
}