♻️ Trying out the new built-in webrtc

This commit is contained in:
2025-10-19 17:30:06 +08:00
parent 001549b190
commit 3f83bbc1d8
27 changed files with 1420 additions and 580 deletions

View File

@@ -44,10 +44,12 @@ void showInfoAlert(String message, String title) async {
Future<bool> showConfirmAlert(String message, String title) async {
final result = await js.context.callMethod('swal', [
title,
message,
'question',
{'buttons': true},
js.JsObject.jsify({
'title': title,
'text': message,
'icon': 'info',
'buttons': {'cancel': true, 'confirm': true},
}),
]);
return result == true;
}