buildActions method
Builds the dialog actions.
Implementation
List<Widget> buildActions(BuildContext context) {
PadlockHint? hint = widget.padlock.hintBuilder?.call(widget.escapeGame, widget.padlock, tryCount);
return [
EscapeGameAlertDialogOkButton(onPressed: tryUnlock),
const EscapeGameAlertDialogCloseButton(),
if (hint != null)
createHintButton(context, hint),
];
}