Telas de login e dashboard de estudante feito

This commit is contained in:
2026-05-07 21:10:30 +01:00
parent 547d5f5484
commit c1d1a0fce1
44 changed files with 6740 additions and 183 deletions

View File

@@ -0,0 +1,29 @@
import 'package:flutter/material.dart';
import '../../../../core/theme/app_colors.dart';
class LoadingPage extends StatelessWidget {
const LoadingPage({super.key});
@override
Widget build(BuildContext context) {
return const Scaffold(
backgroundColor: AppColors.background,
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CircularProgressIndicator(
strokeWidth: 3,
valueColor: AlwaysStoppedAnimation<Color>(AppColors.primaryBlue),
),
SizedBox(height: 24),
Text(
'Loading...',
style: TextStyle(fontSize: 16, color: AppColors.textSecondary),
),
],
),
),
);
}
}

View File

@@ -0,0 +1,48 @@
import 'package:flutter/material.dart';
import '../../../../core/theme/app_colors.dart';
class NotFoundPage extends StatelessWidget {
const NotFoundPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppColors.background,
appBar: AppBar(
title: const Text('Page Not Found'),
backgroundColor: AppColors.surface,
foregroundColor: AppColors.textPrimary,
elevation: 0,
),
body: const Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Icons.error_outline,
size: 64,
color: AppColors.error,
),
SizedBox(height: 16),
Text(
'Page Not Found',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold,
color: AppColors.textPrimary,
),
),
SizedBox(height: 8),
Text(
'The page you are looking for does not exist.',
style: TextStyle(
fontSize: 16,
color: AppColors.textSecondary,
),
),
],
),
),
);
}
}