tentative de firebase

This commit is contained in:
2025-12-12 10:37:10 +00:00
parent bd89eba772
commit 8e179df1dc
15 changed files with 535 additions and 33 deletions

View File

@@ -0,0 +1,24 @@
import 'package:flutter/material.dart';
class HomeController extends ChangeNotifier {
// Se precisar de estado para a home screen
int _selectedCardIndex = 0;
int get selectedCardIndex => _selectedCardIndex;
void selectCard(int index) {
_selectedCardIndex = index;
notifyListeners();
}
// Métodos adicionais para lógica da home
void navigateToDetails(String playerName) {
print('Navegando para detalhes de $playerName');
// Implementar navegação
}
void refreshData() {
print('Atualizando dados da home...');
notifyListeners();
}
}