FLUTTER ECOSYSTEM

TahaMalas/flutter_image_viewer

TahaMalas/flutter_image_viewer open-source repository details.

flutter_image_viewer 项目封面
Stars
10
Forks
5
最近推送(UTC)
2021年5月29日
项目状态
未归档
Taha Malas GitHub avatar
GITHUB User

Taha Malas ↗

Software Engineer @ BMW

Munich, Germany
语言SwiftRubyDartKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

image_viewer

Flutter image viewer library gives you the opportunity to easly integrate full screen images slider.

Getting Started

Add dependency
dependencies:
  image_viewer: ^1.5.0
Example
    ImageViewer.showImageSlider(
      images: [
        //List of images' URLs
      ],
    );

https://media.giphy.com/media/l0uV5AudZ3o6mnz9dc/giphy.gif

You can also pass your starting position for the image viewer, so if you pass '1', the slider will start from the second item from your list.

    ImageViewer.showImageSlider(
      images: [
        //List of images' URLs
      ],
      startingPosition: 1,
    );

https://media.giphy.com/media/ekM4QFeYolP3E1Su64/giphy.gif

https://media.giphy.com/media/fY5XOEdmnQ7EtQCemV/giphy.gif

Platforms

This pacakges is a stable version for both Android and iOS

Dependencies

For Android: FrescoImageViewer

For iOS: Lightbox