showHintDialog method
Shows the hint dialog.
Implementation
void showHintDialog(PadlockHint hint, {String? dialogTitle}) {
showDialog(
context: context,
builder: (context) => EscapeGameAlertDialog.oneChild(
title: dialogTitle ?? hint.title,
child: Text(
hint.text,
textAlign: TextAlign.center,
style: const TextStyle(
fontStyle: FontStyle.italic,
),
),
),
);
}