パッケージ、リポジトリ、アプリカテゴリを検索

photox のカバー
パッケージ詳細v0.2.1

photox

インタラクティブな画像を表示するためのワンストップソリューション。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
52
いいね数
7
Pub ポイント
120

パッケージをインストール

flutter pub add photox

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

PhotoX は、複数のプラットフォームで画像をシームレスに表示および操作できるように設計された包括的な Flutter パッケージです。ズーム、パン、タッチジェスチャーの組み込みサポートにより、写真ギャラリー、画像ビューア、インタラクティブなビジュアルコンテンツに最適です。パフォーマンスと統合のしやすさに注力しており、複雑なカスタムコードなしで豊かな画像体験を実装できます。このパッケージは積極的にメンテナンスされており、Android、iOS、Web、macOS、Windows、Linux と互換性があります。

用途

  • インタラクティブな画像表示
  • フォトギャラリー アプリケーション
  • ズーム可能な画像表示
  • デジタルアートの紹介
  • 画像アノテーションツール

主な機能

  • ジェスチャーによるズームとパン
  • クロスプラットフォーム互換性
  • 高パフォーマンスレンダリング
  • シンプルなAPI統合
  • 大きな画像のサポート
  • レスポンシブデザイン

適している対象

  • 画像が多く含まれるアプリを開発している開発者
  • 迅速な画像インタラクション機能を必要とするチーム
  • マルチプラットフォーム画像サポートを必要とするプロジェクト
  • 教育的または創造的なアプリケーション

注意事項

  • 非常に高解像度の画像に対して最適化が必要になる場合があります
  • 高度なUI要素のカスタマイズが限られている
  • Flutter のレンダリングパイプラインに依存しています
  • 静的またはセミインタラクティブな画像に最適
  • リアルタイム画像編集には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

PhotoX

An all-in-one solution for displaying interactive images

   

Features

  • Smoothly animate images into fullscreen and back
  • Swipe to dismiss images
  • Pinch to zoom
  • Automatically generate swipeable gallery when given multiple images

Getting started

Add photox as a dependency in your pubspec.yaml file

flutter pub add photox

Import PhotoX:

import 'package:photox/photox.dart';

Usage

@override
Widget build(BuildContext context) {
  return Container(
    height: 400,
    width: 400,
    child: PhotoX(
      items: [
        PhotoXItem(
          id: "1", resource: "assets/img1.jpg", isAsset: true),
        PhotoXItem(
          id: "2", resource: "assets/img2.jpeg", isAsset: true),
      ]
    )
  );
}

Additional parameters

dismissMode
DismissMode.swipeAny DismissMode.swipeVertical

⚠️ DismissMode.swipeAny can only be used when provided with a single PhotoXItem

showPageIndicator

Whether to show the page indicator in the thumbnail gallery for multiple PhotoXItems

pageIndicatorAlignment

The alignment of the page indicator relative to the gallery

pageIndicatorActiveColor

The color of the active bubble in the page indicator

pageIndicatorInactiveColor

The color of the inactive bubbles in the page indicator

pageIndicatorBackgroundColor

The background color of the page indicator

pageIndicatorBubbleRadius

The radius of the indicator bubbles in the page indicator

pageIndicatorBubblePadding

The padding between the bubbles in the page indicator

fullscreenGalleryTitleTextStyle

The TextStyle for the AppBar title in the fullscreen gallery

fullscreenGalleryAppBarLeadingWidget

A custom widget to use as the leading widget in the fullscreen gallery AppBar

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。