presentation/widgets/common/confirm_dialog library

Functions

showConfirmDialog(BuildContext context, {required String title, String? message, String? confirmLabel, String? cancelLabel, Color? color, IconData? icon}) → Future<bool>
Thin convenience wrapper over NeonDialog.show for the common "are you sure?" confirm/cancel case. Delegates all rendering to NeonDialog.show (which already handles the Flame-GameWidget-safe routing per this repo's Dialog pattern) — this just supplies the two actions and resolves to true/false based on which one was tapped.