primera pagina empresa y negocios alfa

This commit is contained in:
Abraham
2025-07-16 21:54:10 -07:00
parent 8670f90068
commit 3e7a26dadc
8 changed files with 5729 additions and 997 deletions

View File

@@ -161,9 +161,10 @@ class EmpresasNegociosProvider extends ChangeNotifier {
logoFileName = 'logo-$timestamp-${picker.files.single.name}';
logoToUpload = picker.files.single.bytes;
}
notifyListeners();
// Notificar inmediatamente después de seleccionar
notifyListeners();
}
}
Future<void> selectImagen() async {
@@ -182,9 +183,10 @@ class EmpresasNegociosProvider extends ChangeNotifier {
imagenFileName = 'imagen-$timestamp-${picker.files.single.name}';
imagenToUpload = picker.files.single.bytes;
}
notifyListeners();
// Notificar inmediatamente después de seleccionar
notifyListeners();
}
}
Future<String?> uploadLogo() async {