Attachment rendering

This commit is contained in:
2025-04-23 00:07:20 +08:00
parent 8bb365c974
commit 36905e0cd5
18 changed files with 519 additions and 113 deletions

10
lib/widgets/alert.dart Normal file
View File

@ -0,0 +1,10 @@
import 'package:flutter_platform_alert/flutter_platform_alert.dart';
void showErrorAlert(dynamic err) async {
FlutterPlatformAlert.showAlert(
windowTitle: 'Something went wrong...',
text: err.toString(),
alertStyle: AlertButtonStyle.ok,
iconStyle: IconStyle.error,
);
}