wrongNoteOf function
- String message
O aviso da última tentativa errada, em vermelho (message já pronta).
Implementation
Widget wrongNoteOf(String message) {
return Builder(
builder: (context) {
final t = context.zt;
return Padding(
padding: EdgeInsets.only(top: t.space.xs),
child: Text(
message,
textAlign: TextAlign.center,
style: t.text.label.copyWith(color: t.colors.bad),
),
);
},
);
}