# flutter_image_preview **Repository Path**: niusm/flutter_image_preview ## Basic Information - **Project Name**: flutter_image_preview - **Description**: No description available - **Primary Language**: Dart - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-25 - **Last Updated**: 2021-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_image_preview 自己项目使用的一个图片预览组件,支持点击webview中的图片进行预览 注意: 要求flutter 版本>=1.7.8 ## Getting Started 图片预览 ```Dart import 'package:flutter_image_preview/flutter_image_preview.dart'; ImagePreview.showImagePreview( context, images: [ AssetImage( 'assets/1.jpg', ), AssetImage( 'assets/2.jpg', ), AssetImage( 'assets/3.jpg', ), ] ); ``` 点击webview中的图片进行预览 ```Dart ImagePreviewWebview( url: 'https://home.biaosuzy.com/page/articles/1', ) ``` This project is a starting point for a Dart [package](https://flutter.dev/developing-packages/), a library module containing code that can be shared easily across multiple Flutter or Dart projects. For help getting started with Flutter, view our [online documentation](https://flutter.dev/docs), which offers tutorials, samples, guidance on mobile development, and a full API reference.