groovePrompt function

Widget groovePrompt({
  1. required Widget again,
  2. required bool noSound,
})

O listen-groove (EX13): ouvir de novo e dizer qual é o groove (botões com o nome).

Implementation

Widget groovePrompt({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(
            'Que groove é este?',
            textAlign: TextAlign.center,
            style: t.text.display,
          ),
          const ZGap(ZSpace.m),
          again,
          const ZGap(ZSpace.s),
          Text(
            'Escolha o groove.',
            textAlign: TextAlign.center,
            style: t.text.caption,
          ),
          if (noSound) noSoundNote(),
        ],
      );
    },
  );
}