Teacher dashboard updates

This commit is contained in:
2026-05-24 20:09:22 +01:00
parent 1a98fff5e8
commit c2fd663170
6 changed files with 301 additions and 307 deletions

View File

@@ -22,9 +22,13 @@ class TeacherDashboardPage extends StatefulWidget {
State<TeacherDashboardPage> createState() => _TeacherDashboardPageState(); State<TeacherDashboardPage> createState() => _TeacherDashboardPageState();
} }
class _TeacherDashboardPageState extends State<TeacherDashboardPage> { class _TeacherDashboardPageState extends State<TeacherDashboardPage>
with AutomaticKeepAliveClientMixin {
String _userName = 'Professor'; String _userName = 'Professor';
@override
bool get wantKeepAlive => true;
@override @override
void initState() { void initState() {
super.initState(); super.initState();
@@ -36,6 +40,12 @@ class _TeacherDashboardPageState extends State<TeacherDashboardPage> {
} }
} }
Future<void> _refreshDashboard() async {
// Clear cached data to force refresh
TeacherDashboardPage.clearCachedUserName();
await _loadUserData();
}
Future<void> _checkRoleAndLoadData() async { Future<void> _checkRoleAndLoadData() async {
final user = AuthService.currentUser; final user = AuthService.currentUser;
if (user == null) { if (user == null) {
@@ -94,6 +104,7 @@ class _TeacherDashboardPageState extends State<TeacherDashboardPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
final themeExtras = AppThemeExtras.of(context); final themeExtras = AppThemeExtras.of(context);
final headerColor = themeExtras.dashboardHeaderTextColor; final headerColor = themeExtras.dashboardHeaderTextColor;
@@ -107,6 +118,8 @@ class _TeacherDashboardPageState extends State<TeacherDashboardPage> {
stops: themeExtras.dashboardGradientStops, stops: themeExtras.dashboardGradientStops,
), ),
), ),
child: RefreshIndicator(
onRefresh: _refreshDashboard,
child: SafeArea( child: SafeArea(
top: false, top: false,
child: SingleChildScrollView( child: SingleChildScrollView(
@@ -189,6 +202,7 @@ class _TeacherDashboardPageState extends State<TeacherDashboardPage> {
), ),
), ),
), ),
),
); );
} }
} }

View File

@@ -1,7 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:cloud_firestore/cloud_firestore.dart';
import '../../../../core/theme/app_theme_extension.dart';
import '../../../../core/services/gamification_service.dart'; import '../../../../core/services/gamification_service.dart';
import '../../../../core/models/class_stats.dart'; import '../../../../core/models/class_stats.dart';
import '../../../../core/services/auth_service.dart'; import '../../../../core/services/auth_service.dart';
@@ -9,16 +8,23 @@ import '../../../../core/services/auth_service.dart';
/// Hero section for teacher dashboard showing class overview /// Hero section for teacher dashboard showing class overview
class TeacherHeroWidget extends StatefulWidget { class TeacherHeroWidget extends StatefulWidget {
final String userName; final String userName;
final VoidCallback? onRefresh;
const TeacherHeroWidget({super.key, required this.userName}); const TeacherHeroWidget({super.key, required this.userName, this.onRefresh});
@override @override
State<TeacherHeroWidget> createState() => _TeacherHeroWidgetState(); State<TeacherHeroWidget> createState() => _TeacherHeroWidgetState();
} }
class _TeacherHeroWidgetState extends State<TeacherHeroWidget> { class _TeacherHeroWidgetState extends State<TeacherHeroWidget>
with AutomaticKeepAliveClientMixin {
List<ClassStats> _classStats = []; List<ClassStats> _classStats = [];
List<ClassStats> _cachedClassStats = [];
bool _loading = true; bool _loading = true;
bool _isFirstLoad = true;
@override
bool get wantKeepAlive => true;
@override @override
void initState() { void initState() {
@@ -26,11 +32,24 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
_loadClassStats(); _loadClassStats();
} }
Future<void> _loadClassStats() async { Future<void> _loadClassStats({bool forceRefresh = false}) async {
try { try {
final user = AuthService.currentUser; final user = AuthService.currentUser;
if (user == null) return; if (user == null) return;
// Show cached data immediately if available and not forcing refresh
if (_cachedClassStats.isNotEmpty && !forceRefresh) {
setState(() {
_classStats = _cachedClassStats;
_loading = false;
});
return; // Don't reload if we have cached data
}
setState(() {
_loading = _isFirstLoad;
});
// Obter turmas do professor // Obter turmas do professor
final classesSnapshot = await FirebaseFirestore.instance final classesSnapshot = await FirebaseFirestore.instance
.collection('classes') .collection('classes')
@@ -41,10 +60,9 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
for (final classDoc in classesSnapshot.docs) { for (final classDoc in classesSnapshot.docs) {
final classId = classDoc.id; final classId = classDoc.id;
// Forçar atualização para obter dados mais recentes
final stats = await GamificationService.getClassStats( final stats = await GamificationService.getClassStats(
classId, classId,
forceRefresh: true, forceRefresh: forceRefresh,
); );
if (stats != null) { if (stats != null) {
classStatsList.add(stats); classStatsList.add(stats);
@@ -54,7 +72,9 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
if (mounted) { if (mounted) {
setState(() { setState(() {
_classStats = classStatsList; _classStats = classStatsList;
_cachedClassStats = classStatsList;
_loading = false; _loading = false;
_isFirstLoad = false;
}); });
} }
} catch (e) { } catch (e) {
@@ -62,19 +82,27 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
if (mounted) { if (mounted) {
setState(() { setState(() {
_loading = false; _loading = false;
_isFirstLoad = false;
}); });
} }
} }
} }
/// Public method to refresh data
Future<void> refresh() async {
await _loadClassStats(forceRefresh: true);
}
int get totalStudents => int get totalStudents =>
_classStats.fold(0, (sum, stats) => sum + stats.totalStudents); _classStats.fold(0, (sum, stats) => sum + stats.totalStudents);
int get activeQuizzes => int get activeQuizzes =>
_classStats.fold(0, (sum, stats) => sum + stats.activeQuizzes); _classStats.fold(0, (sum, stats) => sum + stats.activeQuizzes);
int get uploadedContent => int get uploadedContent =>
_classStats.fold(0, (sum, stats) => sum + stats.totalContent); _classStats.fold(0, (sum, stats) => sum + stats.totalContent);
int get studentsNeedingSupport => int get studentsNeedingSupport => _classStats.fold(
_classStats.fold(0, (sum, stats) => sum + stats.studentsNeedingSupport.length); 0,
(sum, stats) => sum + stats.studentsNeedingSupport.length,
);
double get classAverageProgress { double get classAverageProgress {
if (_classStats.isEmpty) return 0.0; if (_classStats.isEmpty) return 0.0;
final totalProgress = _classStats.fold( final totalProgress = _classStats.fold(
@@ -98,6 +126,7 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
} }
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
if (_loading) { if (_loading) {
return Container( return Container(
margin: const EdgeInsets.only(bottom: 24), margin: const EdgeInsets.only(bottom: 24),
@@ -189,72 +218,6 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
// Overall Progress
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Flexible(
child: Text(
'Progresso Médio da Turma',
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Colors.white,
fontSize: 15,
fontWeight: FontWeight.bold,
),
),
),
Builder(
builder: (context) {
final displayValue = (classAverageProgress * 100)
.toInt();
print('=== RENDER DEBUG ===');
print('classAverageProgress: $classAverageProgress');
print('displayValue: $displayValue%');
print('=== END RENDER DEBUG ===');
return Text(
'$displayValue%',
style: const TextStyle(
color: Colors.white,
fontSize: 24,
fontWeight: FontWeight.bold,
),
);
},
),
],
),
const SizedBox(height: 16),
// Progress Bar
GestureDetector(
onTap: () => _showProgressExplanation(context),
child: Container(
height: 12,
decoration: BoxDecoration(
color: Colors.white.withOpacity(0.3),
borderRadius: BorderRadius.circular(6),
),
child: FractionallySizedBox(
alignment: Alignment.centerLeft,
widthFactor: classAverageProgress,
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
AppThemeExtras.of(context).heroProgressStart,
AppThemeExtras.of(context).heroProgressEnd,
],
),
borderRadius: BorderRadius.circular(6),
),
),
),
),
),
const SizedBox(height: 20),
// Stats Grid // Stats Grid
IntrinsicHeight( IntrinsicHeight(
child: Row( child: Row(
@@ -275,14 +238,6 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
label: 'Conteúdos', label: 'Conteúdos',
), ),
), ),
const SizedBox(width: 12),
Expanded(
child: _buildStatCard(
icon: Icons.warning_amber,
value: '$studentsNeedingSupport',
label: 'Precisam Apoio',
),
),
], ],
), ),
), ),
@@ -489,24 +444,4 @@ class _TeacherHeroWidgetState extends State<TeacherHeroWidget> {
], ],
); );
} }
void _showProgressExplanation(BuildContext context) {
showDialog(
context: context,
builder: (context) => AlertDialog(
title: const Text('Progresso Médio da Turma'),
content: const Text(
'O progresso médio da turma é calculado com base no domínio dos conceitos por cada aluno. '
'Cada aluno tem um nível de domínio para cada conceito (0-100%), e o progresso médio '
'é a média de todos esses níveis de domínio em toda a turma.',
),
actions: [
TextButton(
onPressed: () => Navigator.of(context).pop(),
child: const Text('Entendi'),
),
],
),
);
}
} }

View File

@@ -325,7 +325,9 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
), ),
child: Column( child: Column(
children: [ children: [
SafeArea( Container(
decoration: BoxDecoration(color: const Color(0xFF82C9BD)),
child: SafeArea(
top: false, top: false,
child: Padding( child: Padding(
padding: const EdgeInsets.only( padding: const EdgeInsets.only(
@@ -340,7 +342,7 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
IconButton( IconButton(
icon: Icon(Icons.arrow_back, color: cs.onSurface), icon: Icon(Icons.arrow_back, color: Colors.white),
onPressed: () => Navigator.pop(context), onPressed: () => Navigator.pop(context),
), ),
const SizedBox(width: 8), const SizedBox(width: 8),
@@ -348,7 +350,7 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
child: Text( child: Text(
'Gerenciamento de Conteúdo', 'Gerenciamento de Conteúdo',
style: TextStyle( style: TextStyle(
color: cs.onSurface, color: Colors.white,
fontSize: 24, fontSize: 24,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
@@ -359,10 +361,10 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
const SizedBox(height: 8), const SizedBox(height: 8),
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: cs.surface.withOpacity(0.8), color: Colors.white.withOpacity(0.9),
borderRadius: BorderRadius.circular(16), borderRadius: BorderRadius.circular(16),
border: Border.all( border: Border.all(
color: cs.outline.withOpacity(0.2), color: Colors.white.withOpacity(0.3),
width: 1, width: 1,
), ),
), ),
@@ -370,16 +372,16 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
controller: _searchController, controller: _searchController,
decoration: InputDecoration( decoration: InputDecoration(
hintText: 'Procurar turmas...', hintText: 'Procurar turmas...',
hintStyle: TextStyle(color: cs.onSurfaceVariant), hintStyle: TextStyle(color: Colors.grey[600]),
prefixIcon: Icon( prefixIcon: Icon(
Icons.search, Icons.search,
color: cs.onSurfaceVariant, color: Colors.grey[600],
), ),
suffixIcon: _searchQuery.isNotEmpty suffixIcon: _searchQuery.isNotEmpty
? IconButton( ? IconButton(
icon: Icon( icon: Icon(
Icons.clear, Icons.clear,
color: cs.onSurfaceVariant, color: Colors.grey[600],
), ),
onPressed: () { onPressed: () {
_searchController.clear(); _searchController.clear();
@@ -402,6 +404,7 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
), ),
), ),
), ),
),
Container( Container(
margin: const EdgeInsets.only(right: 16), margin: const EdgeInsets.only(right: 16),
decoration: BoxDecoration( decoration: BoxDecoration(
@@ -570,11 +573,26 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
final fileName = material['fileName'] ?? 'Ficheiro sem nome'; final fileName = material['fileName'] ?? 'Ficheiro sem nome';
final url = material['url'] as String?; final url = material['url'] as String?;
final createdAt = material['createdAt'] as Timestamp?; final createdAt = material['createdAt'] as Timestamp?;
final mimeType = material['mimeType'] as String?;
final extension = path.extension(fileName).toLowerCase(); // Determine icon based on MIME type, fallback to extension
IconData iconData; IconData iconData;
Color iconColor; Color iconColor;
if (mimeType != null) {
if (mimeType == 'application/pdf') {
iconData = Icons.picture_as_pdf;
iconColor = Colors.red;
} else if (mimeType.startsWith('image/')) {
iconData = Icons.image;
iconColor = Colors.blue;
} else {
iconData = Icons.insert_drive_file;
iconColor = const Color(0xFF82C9BD);
}
} else {
// Fallback to extension for old files without MIME type
final extension = path.extension(fileName).toLowerCase();
if (extension == '.pdf') { if (extension == '.pdf') {
iconData = Icons.picture_as_pdf; iconData = Icons.picture_as_pdf;
iconColor = Colors.red; iconColor = Colors.red;
@@ -587,6 +605,7 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
iconData = Icons.insert_drive_file; iconData = Icons.insert_drive_file;
iconColor = const Color(0xFF82C9BD); iconColor = const Color(0xFF82C9BD);
} }
}
String formattedDate = 'Data desconhecida'; String formattedDate = 'Data desconhecida';
if (createdAt != null) { if (createdAt != null) {
@@ -633,15 +652,16 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text( SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Text(
fileName, fileName,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontSize: 15, fontSize: 15,
color: cs.onSurface, color: cs.onSurface,
), ),
maxLines: 2, ),
overflow: TextOverflow.ellipsis,
), ),
const SizedBox(height: 6), const SizedBox(height: 6),
Row( Row(

View File

@@ -11,6 +11,7 @@ import 'package:path/path.dart' as path;
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
import '../../../../core/services/auth_service.dart'; import '../../../../core/services/auth_service.dart';
import 'pdf_viewer_page.dart';
/// Página de Materiais do Professor /// Página de Materiais do Professor
/// Tela dedicada para upload e gestão de materiais para a IA /// Tela dedicada para upload e gestão de materiais para a IA
@@ -78,10 +79,12 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text( title: const Text(
'Materiais da Disciplina', 'Gerenciamento de conteudo',
style: TextStyle(fontWeight: FontWeight.bold), style: TextStyle(fontWeight: FontWeight.bold),
), ),
elevation: 0, elevation: 0,
backgroundColor: const Color(0xFF82C9BD),
foregroundColor: Colors.white,
), ),
body: Container( body: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
@@ -116,10 +119,12 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
child: Scaffold( child: Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text( title: const Text(
'Materiais da Disciplina', 'Gerenciamento de conteudo',
style: TextStyle(fontWeight: FontWeight.bold), style: TextStyle(fontWeight: FontWeight.bold),
), ),
elevation: 0, elevation: 0,
backgroundColor: const Color(0xFF82C9BD),
foregroundColor: Colors.white,
bottom: PreferredSize( bottom: PreferredSize(
preferredSize: const Size.fromHeight(kToolbarHeight + 60), preferredSize: const Size.fromHeight(kToolbarHeight + 60),
child: Column( child: Column(
@@ -296,17 +301,32 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
final fileName = final fileName =
material['fileName'] ?? 'Ficheiro sem nome'; material['fileName'] ?? 'Ficheiro sem nome';
final createdAt = material['createdAt'] as Timestamp?; final createdAt = material['createdAt'] as Timestamp?;
final mimeType = material['mimeType'] as String?;
final url = material['url'] as String?;
// Determine file type from MIME type, fallback to extension
String fileType;
if (mimeType != null) {
if (mimeType == 'application/pdf') {
fileType = 'pdf';
} else if (mimeType.startsWith('image/')) {
fileType = 'image';
} else {
fileType = 'other';
}
} else {
// Fallback to extension for old files without MIME type
final extension = path.extension(fileName).toLowerCase(); final extension = path.extension(fileName).toLowerCase();
final fileType = extension == '.pdf' fileType = extension == '.pdf'
? 'pdf' ? 'pdf'
: (extension == '.jpg' || : (extension == '.jpg' ||
extension == '.jpeg' || extension == '.jpeg' ||
extension == '.png') extension == '.png')
? 'image' ? 'image'
: 'other'; : 'other';
}
final docId = materials[index].id; final docId = materials[index].id;
final url = material['url'] as String?;
return _buildMaterialCard( return _buildMaterialCard(
docId: docId, docId: docId,
@@ -699,7 +719,16 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
.child('materials') .child('materials')
.child(cleanFileName); .child(cleanFileName);
await ref.putFile(File(filePath)); // Set content type based on file type parameter
final metadata = SettableMetadata(
contentType: fileType == 'pdf'
? 'application/pdf'
: fileType == 'image'
? 'image/jpeg'
: 'application/octet-stream',
);
await ref.putFile(File(filePath), metadata);
final downloadUrl = await ref.getDownloadURL(); final downloadUrl = await ref.getDownloadURL();
// Criar documento no Firestore // Criar documento no Firestore
@@ -707,6 +736,11 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
'teacherId': uid, 'teacherId': uid,
'fileName': cleanFileName, 'fileName': cleanFileName,
'url': downloadUrl, 'url': downloadUrl,
'mimeType': fileType == 'pdf'
? 'application/pdf'
: fileType == 'image'
? 'image/jpeg'
: 'application/octet-stream',
'createdAt': FieldValue.serverTimestamp(), 'createdAt': FieldValue.serverTimestamp(),
}; };
if (classId != null && classId.isNotEmpty) { if (classId != null && classId.isNotEmpty) {
@@ -835,31 +869,6 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
); );
} }
Future<void> _openFile(String? url, String fileName) async {
if (url == null || url.isEmpty) {
_showErrorSnackBar('URL do ficheiro não disponível');
return;
}
try {
print('Opening file: $fileName');
print('URL: $url');
final uri = Uri.parse(url);
final launched = await launchUrl(
uri,
mode: LaunchMode.externalApplication,
);
if (!launched) {
_showErrorSnackBar('Não foi possível abrir o ficheiro');
}
} catch (e) {
print('Error opening file: $e');
_showErrorSnackBar('Erro ao abrir ficheiro: $e');
}
}
Future<void> _downloadFile(String? url, String fileName) async { Future<void> _downloadFile(String? url, String fileName) async {
if (url == null || url.isEmpty) { if (url == null || url.isEmpty) {
_showErrorSnackBar('URL do ficheiro não disponível'); _showErrorSnackBar('URL do ficheiro não disponível');
@@ -887,6 +896,20 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
} }
} }
Future<void> _viewInApp(String? url, String fileName) async {
if (url == null || url.isEmpty) {
_showErrorSnackBar('URL do ficheiro não disponível');
return;
}
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => PdfViewerPage(url: url, fileName: fileName),
),
);
}
Widget _buildMaterialCard({ Widget _buildMaterialCard({
required String docId, required String docId,
required String fileName, required String fileName,
@@ -938,15 +961,16 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
), ),
child: Icon(iconData, color: iconColor, size: 28), child: Icon(iconData, color: iconColor, size: 28),
), ),
title: Text( title: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Text(
fileName, fileName,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: 16, fontSize: 16,
color: Theme.of(context).colorScheme.onSurface, color: Theme.of(context).colorScheme.onSurface,
), ),
maxLines: 2, ),
overflow: TextOverflow.ellipsis,
), ),
subtitle: Text( subtitle: Text(
formattedDate, formattedDate,
@@ -962,7 +986,7 @@ class _TeacherMaterialsPageState extends State<TeacherMaterialsPage> {
icon: const Icon(Icons.visibility_outlined, color: Colors.blue), icon: const Icon(Icons.visibility_outlined, color: Colors.blue),
tooltip: 'Ver', tooltip: 'Ver',
constraints: const BoxConstraints(minWidth: 40, minHeight: 40), constraints: const BoxConstraints(minWidth: 40, minHeight: 40),
onPressed: () => _openFile(url, fileName), onPressed: () => _viewInApp(url, fileName),
), ),
IconButton( IconButton(
icon: const Icon(Icons.download_outlined, color: Colors.green), icon: const Icon(Icons.download_outlined, color: Colors.green),

View File

@@ -1141,13 +1141,13 @@ packages:
source: hosted source: hosted
version: "1.17.0" version: "1.17.0"
mime: mime:
dependency: transitive dependency: "direct main"
description: description:
name: mime name: mime
sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.0" version: "1.0.6"
mockito: mockito:
dependency: "direct dev" dependency: "direct dev"
description: description:

View File

@@ -91,6 +91,7 @@ dependencies:
file_selector: ^1.0.3 file_selector: ^1.0.3
image_picker: ^1.0.4 image_picker: ^1.0.4
syncfusion_flutter_pdf: ^33.2.6 syncfusion_flutter_pdf: ^33.2.6
mime: ^1.0.5
# Markdown rendering # Markdown rendering
flutter_markdown: ^0.6.23 flutter_markdown: ^0.6.23