Modificação nos modos, correção de textos cortados

This commit is contained in:
2026-05-17 14:02:42 +01:00
parent 14509c04d3
commit 51ea446ae9
24 changed files with 906 additions and 933 deletions

View File

@@ -646,7 +646,7 @@ class _InteractiveQuizSheetState extends State<_InteractiveQuizSheet> {
children: [
Text(
widget.title,
maxLines: 1,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold, color: cs.onSurface),
),
@@ -994,7 +994,7 @@ class _TeacherQuizInteractiveSheetState extends State<_TeacherQuizInteractiveShe
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(widget.title,
maxLines: 1,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold, color: cs.onSurface)),
if (!_submitted)

View File

@@ -504,6 +504,7 @@ class _QuizEditorPageState extends State<_QuizEditorPage> {
appBar: AppBar(
title: Text(
widget.materialName.replaceAll('.pdf', '').replaceAll('_', ' '),
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
backgroundColor: cs.surface,
@@ -693,7 +694,7 @@ class _QuestionEditorState extends State<_QuestionEditor> {
Expanded(
child: Text(
widget.question.question.isEmpty ? 'Pergunta ${widget.index + 1}' : widget.question.question,
maxLines: 1,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: cs.onSurface),
),