From c8924ee3ed5a4b61e79ffa2ebc584998fb6e575c Mon Sep 17 00:00:00 2001 From: wkb Date: Fri, 6 Feb 2026 15:03:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=88=B7=E6=96=B0=E5=B8=B8?= =?UTF-8?q?=E7=94=A8=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/app_bridge.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/app_bridge.dart b/lib/utils/app_bridge.dart index 059b791..b4474ac 100644 --- a/lib/utils/app_bridge.dart +++ b/lib/utils/app_bridge.dart @@ -353,6 +353,7 @@ class FlutterBridge { // 具体封装的常用方法,直接发送消息给 Flutter Web void close() => sendToFlutter(ToFlutterAppEnum.close.code, {}); + void reload() => sendToFlutter(ToFlutterAppEnum.reload.code, {}); void gameOver() => sendToFlutter(ToFlutterAppEnum.gameOver.code, {}); void createGame(String gameId) => sendToFlutter(ToFlutterAppEnum.createGame.code, {'gameId': gameId});