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

パッケージ詳細v1.0.5

kenburns

Flutterにおけるケン・バーンズ効果。ケン・バーンズ効果は、静止画像からビデオ制作に使用されるパンとズームの効果です。

30日間ダウンロード
21
いいね数
25
Pub ポイント
40

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

flutter pub add kenburns

パッケージ概要

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

kenburns パッケージは Flutter で Ken Burns エフェクトを可能にし、静止画像をスムーズなパンとズームの動きでアニメーション化できます。このエフェクトにより静止画像にダイナミックな視覚的な魅力が加わり、写真ギャラリー、プレゼンテーション、ストーリーテリングアプリなどでよく使用されます。パッケージは Flutter プロジェクトにシームレスに統合でき、アニメーション速度や方向をカスタマイズ可能です。複雑な動画処理なしに画像表示に映画的な雰囲気を加えたい開発者にとって理想的です。シンプルさとパフォーマンスを意識して設計されており、さまざまな画面サイズや解像度で良好に動作します。

用途

  • 写真ギャラリー
  • アニメーションストーリーボード
  • プレゼンテーションスライド
  • デジタルサイネージ
  • インタラクティブUI要素

主な機能

  • スムーズなパンとズーム
  • カスタマイズ可能なアニメーション速度
  • 画像ウィジェットとの簡単な統合
  • レスポンシブレイアウトをサポートしています
  • 必要な最小構成

適している対象

  • アプリ開発者
  • UIデザイナー
  • コンテンツクリエイター
  • 教育アプリ
  • メディア豊富なアプリケーション

注意事項

  • 画像アニメーションに制限
  • オーディオ対応なし
  • 最適なビジュアルを得るためには慎重な調整が必要です
  • 高頻度の更新には適していません
  • 低価格端末でのパフォーマンスに影響する可能性があります

元の README

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

KenBurns

The Ken Burns effect is a type of panning and zooming effect used in video production from still imagery.

Wrap your image with a KenBurns widget

Container(
      height: 300,
      child: KenBurns(
        child: Image.network("https://lemag.nikonclub.fr/wp-content/uploads/2017/07/08.jpg", fit: BoxFit.cover,),
      ),
),

screen

Configuration

You can configure KenBurns Widget

KenBurns(
    minAnimationDuration : Duration(milliseconds: 3000),
    maxAnimationDuration : Duration(milliseconds: 10000),
    maxScale : 8,
    child: ...
  });

Multiple images

You can display multiple child in KenBurns with a CrossFade animation

Container(
    height: 300,
    child: KenBurns.multiple(
      childLoop: 3,
      children: [
        Image.network(
          "https://www.photo-paysage.com/?file=pic_download_link/picture&pid=3100",
          fit: BoxFit.cover,
        ),
        Image.network(
          "https://cdn.getyourguide.com/img/location_img-59-1969619245-148.jpg",
          fit: BoxFit.cover,
        ),
        Image.network(
          "https://www.theglobeandmail.com/resizer/vq3O7LI3hvsjTP2N0m9NwU4W3Eg=/1500x0/filters:quality(80)/arc-anglerfish-tgam-prod-tgam.s3.amazonaws.com/public/4ETF3GZR3NA3RDDW23XDRBKKCI",
          fit: BoxFit.cover,
        ),
      ],
    ),
),

Download

pub package

dependencies:
  kenburns: ^1.0.5

License

Copyright 2019 florent37, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

カテゴリー

ソースリポジトリ

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

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