Publishers manage

This commit is contained in:
2025-04-26 00:43:48 +08:00
parent aed2160760
commit 7cf2c1a0df
14 changed files with 881 additions and 111 deletions

View File

@ -17,3 +17,13 @@ void showInfoAlert(String message, String title) async {
iconStyle: IconStyle.information,
);
}
Future<bool> showConfirmAlert(String message, String title) async {
final result = await FlutterPlatformAlert.showAlert(
windowTitle: title,
text: message,
alertStyle: AlertButtonStyle.okCancel,
iconStyle: IconStyle.question,
);
return result == AlertButton.okButton;
}