previewImage static method

dynamic previewImage(
  1. String imagePath
)

预览图片 preview picture

imagePath 图片本地路径或者网络url Image local path or web url

Implementation

static previewImage(String imagePath) {
  final Map<String, dynamic> params = <String, dynamic>{
    'path': imagePath,
  };
  _channel.invokeMethod('previewImage', params);
}