theoryPromptOf function
A pergunta de teoria (EX21): o enunciado text e, quando tem, a partitura
(score).
Implementation
Widget theoryPromptOf({
required String text,
required CourseFiles files,
Widget? score,
}) {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
MarkdownView(text: text, files: files),
if (score != null) ...[const ZGap(ZSpace.m), score],
],
);
}