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

animated_image_list のカバー
パッケージ詳細v1.0.0

animated_image_list

パララックス効果と画像ライトボックス付きのFlutterアニメーション画像リスト。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
128
いいね数
94
Pub ポイント
140

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

flutter pub add animated_image_list

パッケージ概要

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

パララックス効果とフルスクリーン表示のライトボックス機能を備えたアニメーション画像リストを提供するFlutterパッケージです。パララックス効果により奥行き感のある滑らかなインタラクティブスクロールを実現し、画像ギャラリーやポートフォリオの紹介に最適です。ライトボックス機能により、画像をタップして詳細なビューを表示でき、画像間のシームレスなナビゲーションもサポートしています。Android、iOS、Web、macOS、Windows、Linuxなど、クロスプラットフォームで動作します。

用途

  • 画像ギャラリー
  • ポートフォリオの表示
  • プロダクトショーケース
  • インタラクティブな物語
  • ソーシャルメディアフィード

主な機能

  • パララックススクロール効果
  • 画像ライトボックスビューア
  • クロスプラットフォーム互換性
  • スムーズなアニメーション
  • カスタマイズ可能なトランジション
  • レスポンシブデザイン

適している対象

  • ビジュアル重視のアプリを開発する開発者
  • 魅力的なUIコンポーネントを探しているデザイナー
  • 没入型の画像閲覧を必要とするアプリ
  • 製品画像を備えた電子商取引プラットフォーム
  • クリエイティブなデジタルポートフォリオ

注意事項

  • 大規模な画像セットではパフォーマンスに影響を与える可能性があります
  • 低性能デバイス向けに慎重な最適化が必要です
  • アニメーションタイミングのカスタマイズオプションが限られている
  • 中程度の画像数に最適
  • テキストが多く含まれるインターフェースには適していない
  • 完全な機能を実現するには、外部の依存関係に依存します

元の README

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

Animated Image List for Flutter

Pub

Flutter Animated image list with parallax effect and image lightbox .

gif

Getting Started

Add the package to your pubspec.yaml:

animated_image_list: ^0.5.0

In your dart file, import the library:

import 'package:animated_image_list/AnimatedImageList.dart';

Instead of using a ListView create a AnimatedImageList Widget:

 AnimatedImageList(
               images: arr.map((e) => e.urls.small).toList(),
               builder: (context, index, progress) {
                 return Positioned.directional(
                     textDirection: TextDirection.ltr,
                     bottom: 15,
                     start: 25,
                     child: Opacity(
                       opacity: progress > 1 ? (2 - progress) : progress,
                       child: Text(
                         arr[index].user.username ?? 'Anonymous',
                         style: TextStyle(
                             color: Colors.white,
                             fontSize: 25,
                             fontWeight: FontWeight.w500),
                       ),
                     ));
               },
               scrollDirection: Axis.vertical,
               itemExtent: 100,
               maxExtent: 400,
             ),
Parameters:
Name Description Required Default value
images A list of images url to display in the list by default it accepts urls if custom image needed use provider paramter required -
provider Function which maps an url or image string to an image provider - -
itemExtent not selected item size required to calculate animations required 150
maxExtent selected item size required to calculate animations required 400
scrollDirection List scroll direction horizontal or vertical - Axis.vertical
builder Builder function that returns a widget to display over the image / progress from 0...1 item selection progress from 1...2 item leaving view could be usefull if you want to animate something like text opacity above / index current item index - -
placeHolder Optional function which returns default placeholder for lightbox and error widget if image fails to load - kTransparentImage

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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