v0.1.3gallery_zoom_slides
图像缩放效果,如图像平移手势、捏合缩放、双击缩放
17喜欢 211近 30 天下载110Pub 分数
AndroidiOSWebmacOSWindowsLinux
Dharini17/gallery_zoom_slides open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
Image zoomin & zoomout functionality
|
|
|
|
|
|
|
|
In your pubspec.yaml file within your Flutter Project:
dependencies:
gallery_zoom_slides: 0.1.2
import 'package:gallery_zoom_slides/gallery_zoom_slides.dart';
Navigator.push(context, MaterialPageRoute(builder: (context)=>
galleryZoomSlides(
//required fields
arrayImages: const [
"https://i.ibb.co/C78HbbR/xl-d-pista-oraganza-s-deklook-original-imags3a5bguzakgq.webp",
"https://i.ibb.co/jH1SBF4/xl-d-pista-oraganza-s-deklook-original-imags3a5kf7tngq8.webp",
"https://i.ibb.co/hZ0By5W/xl-d-pista-oraganza-s-deklook-original-imags3a5pjsfs98c.webp",
"https://i.ibb.co/Dt5qBV3/xl-d-pista-oraganza-s-deklook-original-imags3a5xd7ctjvt.webp"
],
//Optional fields
//.theme1, .theme2, .theme3, .theme4, .theme5, .theme6
zoomTheme: ZoomTheme.theme2,
selectedImagePosition: 1,
selectedThumbnailColor: Colors.blue,
)
)
);
...
NOTE : Images taken only for demo purpose
依赖清单 5 项
{"sdk":"flutter"}^3.3.0^3.0.0{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗