progressionPrompt function
O listen-progression (EX15), sem bass: ouvir de novo e dizer qual é a
progressão (botões com os graus).
Implementation
Widget progressionPrompt({required Widget again, required bool noSound}) {
return Builder(
builder: (context) {
final t = context.zt;
return Column(
children: [
const ZGap(ZSpace.l),
Icon(Icons.hearing, size: 56, color: t.colors.inkCaption),
const ZGap(ZSpace.s),
Text(
'Qual progressão?',
textAlign: TextAlign.center,
style: t.text.display,
),
const ZGap(ZSpace.m),
again,
const ZGap(ZSpace.s),
Text(
'Escolha a progressão.',
textAlign: TextAlign.center,
style: t.text.caption,
),
if (noSound) noSoundNote(),
],
);
},
);
}