fix: usar prosapp-logo.png local en sidebar en vez de Image.network

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-27 19:28:26 -05:00
co-authored by Claude Sonnet 4.6
parent b8b56c4aaa
commit d359974de5
+2 -25
View File
@@ -23,33 +23,10 @@ class Logo extends StatelessWidget {
),
],
),
child: Image.network(
'https://www.prosapp.co/img/logo_prosapp.png',
child: Image.asset(
'prosapp-logo.png',
height: 38,
fit: BoxFit.contain,
loadingBuilder: (context, child, progress) {
if (progress == null) return child;
return const SizedBox(
height: 38,
child: Center(
child: SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(strokeWidth: 2, color: Color(0xFF42A4EF)),
),
),
);
},
errorBuilder: (_, __, ___) => const Text(
'ProsApp',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Color(0xFF42A4EF),
letterSpacing: 0.5,
),
),
),
),
const SizedBox(height: 10),