✨ Attachment rendering
This commit is contained in:
10
lib/widgets/alert.dart
Normal file
10
lib/widgets/alert.dart
Normal 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,
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user