FLUTTER ECOSYSTEM

AgoraDesk-LocalMonero/insta-image-viewer

Flutterパッケージ - スワイプで非表示、ピンチ&ズーム対応のフルスクリーン用シンプルなウィジェット。

insta-image-viewer のプロジェクト画像
Stars
17
Forks
17
最終プッシュ(UTC)
2024/04/16
プロジェクト状態
公開中
AgoraDesk / LocalMonero GitHub avatar
GITHUB Organization

AgoraDesk / LocalMonero ↗

P2P Bitcoin, Monero trading platform

言語C++DartCMakeHTMLCSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^1.0.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

InstaImageViewer

A simple widget to display image in a full-screen, swipe it to dismiss, pinch & zoom.

InstaImageViewer Demo

Features

  • Show a single image in a full screen mode
  • Nice swipe animation (like in Instagram) to dismiss full screen mode
  • Use pinch & zoom to zoom in and out in a full screen mode
  • No dependencies besides Flutter

Usage

As easy as an image widget:

SizedBox(
  width: 100,
  height: 140,
  child: InstaImageViewer(
    child: Image(
      image: Image.network("https://picsum.photos/id/507/1000").image,
    ),
  ),
),

TODO:

  • Upon request: Possibility to wrap icons with path to large images. According current UI there is no need in in such functionality. But, in a long lists, it will lead to significant UI slowing down. So, if you need this functionality feel free to create an issue.
  • Improve animations

For any bugs, suggestions - please submit an issue.

Credits

InstaImageViewer is a project by Agoradesk, P2P cryptocurrency trading platform. Created by the team behind LocalMonero, the biggest and most trusted Monero P2P trading platform.