image static method
Implementation
static Future<void> image(
BuildContext context,
String imageUrl, {
String? title,
String? message,
}) {
return show(
context,
type: NZDialogType.image,
title: title,
message: message,
imagePath: imageUrl,
actions: [
NZDialogAction(
label: '关闭',
isPrimary: true,
onPressed: () => Navigator.pop(context),
),
],
);
}