IA e pequenas coisas a funcionar
This commit is contained in:
@@ -62,7 +62,15 @@ class QuickAccessWidget extends StatelessWidget {
|
||||
color: Colors.transparent,
|
||||
child: InkWell(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
onTap: () => context.go('/tutor'),
|
||||
onTap: () {
|
||||
print('DEBUG: AI Tutor card clicked!');
|
||||
try {
|
||||
context.go('/ai-tutor');
|
||||
print('DEBUG: Navigation to AI Tutor successful');
|
||||
} catch (e) {
|
||||
print('DEBUG: Navigation error: $e');
|
||||
}
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Column(
|
||||
@@ -162,7 +170,15 @@ class QuickAccessWidget extends StatelessWidget {
|
||||
color: Colors.transparent,
|
||||
child: InkWell(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
onTap: () => context.go('/quiz'),
|
||||
onTap: () {
|
||||
print('DEBUG: AI Tutor card clicked!');
|
||||
try {
|
||||
context.go('/ai-tutor');
|
||||
print('DEBUG: Navigation to AI Tutor successful');
|
||||
} catch (e) {
|
||||
print('DEBUG: Navigation error: $e');
|
||||
}
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(14),
|
||||
child: Column(
|
||||
|
||||
Reference in New Issue
Block a user