46 lines
1.5 KiB
Dart
46 lines
1.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'quiz5.dart';
|
|
import 'quiz_question_screen.dart';
|
|
|
|
class Quiz4Screen extends StatelessWidget {
|
|
const Quiz4Screen({super.key, required this.currentScore, this.scopeId});
|
|
|
|
final int currentScore;
|
|
final String? scopeId;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return QuizQuestionScreen(
|
|
title: 'Quiz 4/5',
|
|
question: 'Qual é o melhor horário para usar fio dental?',
|
|
answers: const [
|
|
QuizAnswer(
|
|
title: 'Uma vez ao dia, com calma (geralmente à noite)',
|
|
description:
|
|
'O importante é a frequência diária. À noite costuma ser mais fácil, pois remove restos e placa antes de dormir.',
|
|
weight: 2,
|
|
),
|
|
QuizAnswer(
|
|
title: 'Só quando algo fica preso',
|
|
description:
|
|
'O fio dental não serve apenas para tirar restos visíveis; ele remove placa bacteriana entre os dentes onde a escova não alcança.',
|
|
weight: 5,
|
|
),
|
|
QuizAnswer(
|
|
title: 'Depois de toda refeição (obrigatório)',
|
|
description:
|
|
'Pode ser útil em alguns casos, mas não é obrigatório para todos. O essencial é fazer bem feito ao menos 1x ao dia.',
|
|
weight: 3,
|
|
),
|
|
],
|
|
currentScore: currentScore,
|
|
nextRoute: (context, nextScore) => MaterialPageRoute<void>(
|
|
builder: (_) => Quiz5Screen(currentScore: nextScore, scopeId: scopeId),
|
|
),
|
|
showBackButton: true,
|
|
);
|
|
}
|
|
}
|
|
|
|
// |