feat: foto de perfil seleccionable desde archivo

- file_picker ^4.6.1 — abre galería/archivos (en Android incluye cámara)
- BD v3: columna foto_path en usuarios, migración onUpgrade
- Usuario modelo: campo fotoPath + copyWith
- UsuariosDao: método updateFoto(id, path)
- PerfilUsuarioPage:
  · Avatar muestra foto si hay, iniciales si no
  · Toque en avatar o ícono cámara → FilePicker → guarda ruta en BD
  · Ícono editar nombre movido junto al texto del nombre

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Pablinux
2026-04-16 03:10:47 -05:00
co-authored by Claude Sonnet 4.6
parent f42467037d
commit 33f0b8aa29
5 changed files with 113 additions and 35 deletions
+1
View File
@@ -38,6 +38,7 @@ dependencies:
crypto: ^3.0.2
shared_preferences: ^2.0.0
http: ^0.13.4
file_picker: ^4.6.1
dev_dependencies:
flutter_test: