feat: cleaning code

This commit is contained in:
2026-06-24 22:56:32 +03:30
parent e73333344f
commit e8cde8e1f7
18 changed files with 99 additions and 88 deletions
@@ -211,7 +211,7 @@ class _LobbyViewState extends State<_LobbyView> {
label: 'شروع بازی',
icon: Icons.play_arrow,
width: double.infinity,
colors: const [Color(0xFF3FA34D), Color(0xFF1B5E20)],
colors: const [AppColors.success, AppColors.successDark],
onTap: () => context.read<GameBloc>().startTable(_hands),
)
else
@@ -316,7 +316,7 @@ class _LobbyViewState extends State<_LobbyView> {
shape: BoxShape.circle,
gradient: selected
? const LinearGradient(
colors: [Color(0xFFE9B949), Color(0xFFB8860B)])
colors: [AppColors.gold, AppColors.goldDark])
: null,
color: selected ? null : AppColors.panel,
border: Border.all(
@@ -326,7 +326,7 @@ class _LobbyViewState extends State<_LobbyView> {
child: Text(
fa[h]!,
style: TextStyle(
color: selected ? const Color(0xFF3A0A12) : Colors.white,
color: selected ? AppColors.bg : Colors.white,
fontSize: 22,
fontWeight: FontWeight.bold,
),