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

flexi_productimage_slider のカバー
パッケージ詳細v1.1.1

flexi_productimage_slider

製品を表すための画像スライダーです。:)

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
97
いいね数
30
Pub ポイント
100

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

flutter pub add flexi_productimage_slider

パッケージ概要

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

Flexi ProductImage Slider は、滑らかでカスタマイズ可能なスライダーで製品画像を表示するように設計されたFlutterパッケージです。ECアプリに最適で、Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしています。レスポンシブデザインと直感的なナビゲーションを備えており、製品を閲覧する際のユーザー体験を向上させます。`flutter pub add` を使用した最小限のセットアップにより、開発者は迅速に魅力的な画像カルーセルをアプリに統合できます。異なる色や角度などの製品バリエーションを紹介するのに特に役立ちます。

用途

  • EC商品ギャラリー
  • 製品のバリエーションを紹介する
  • モバイルおよびウェブストア
  • 製品詳細ページ
  • インタラクティブな画像カルーセル

主な機能

  • カスタマイズ可能なスライドの遷移
  • デバイス間での応答性デザイン
  • Flutterとの簡単な統合
  • 複数のプラットフォームのサポート
  • スムーズなタッチベースのナビゲーション

適している対象

  • ECアプリ開発者
  • 製品中心のUIデザイナー
  • クロスプラットフォームモバイルおよびWebプロジェクト
  • 軽量な画像スライダーを探している開発者
  • インタラクティブな製品ディスプレイを必要とするアプリ

注意事項

  • 限定された組み込み画像編集ツール
  • デフォルトでは自動再生なし
  • 高度なスタイル設定には手動設定が必要です
  • 静的画像コレクションに最適
  • 外部の画像ソースに依存

元の README

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

flexi_productimage_slider

An image slider to represents your products..:)

Features

  • Slide your products with thumbnail
  • set your thumbnail in any shapes, color, corner radius, size , alignment etc. as per your requirements
  • perform your action on click on image

Installation

In your pubspec.yaml file within your Flutter Project:

dependencies:
  flexi_productimage_slider: 1.1.0

import 'package:flexi_productimage_slider/flexi_productimage_slider.dart';

    flexiProductimageSlider(
    
        //required fields
        arrayImages: const [
        "https://i.ibb.co/ZLFHX3F/1.png",
        "https://i.ibb.co/JKJvs5S/2.png",
        "https://i.ibb.co/LCzV7b3/3.png",
        "https://i.ibb.co/L8JHn1L/4.png",
        "https://i.ibb.co/7RWNCXH/5.png",
        "https://i.ibb.co/bBsh5Pm/6.png",
        ],
        
        // optional fields
        
        //set where you want to set your thumbnail
        sliderStyle: SliderStyle.nextToSlider,//.overSlider, .nextToSlider
        
        // set you slider height like 1.0,1.5,2.0 etc...
        aspectRatio: 0.8,
        
        //set content mode of image
        boxFit: BoxFit.cover,

        //set this if you want to set any default image index when it loads
        selectedImagePosition: 0,
        
        //set your thumbnail alignment 
        thumbnailAlignment: ThumbnailAlignment.bottom,//.right , .left, .bottom

        //set how selected thumbnail border displayed
        thumbnailBorderType: ThumbnailBorderType.all,//.bottom, .all

        //set selected thumbnail border width
        thumbnailBorderWidth: 1.5,//double value
        
        //set thumbnail corner radius
        thumbnailBorderRadius: 10,
        
        //set your thumbnail height & width
        //NOTE : if you set ThumbnailShape.circle then set thumbnail width height same
        thumbnailWidth: 50,
        thumbnailHeight: 65,
        
        //set color of current image thumbnail border
        thumbnailBorderColor: Colors.blue,
        
        //make you action when user click on image
        onTap: (index){
           print("selected index : $index");

           //for zooming effect on click use gallery_zoom_slides
           //https://pub.dev/packages/gallery_zoom_slides
           Navigator.push(context, MaterialPageRoute(builder: (context)=>
                galleryZoomSlides(                
                        //required fields
                        arrayImages: arrayImages,
                        
                        //Optional fields
                        zoomTheme: ZoomTheme.theme3,//.theme1, .theme2, .theme3
                        selectedImagePosition: index,
                        selectedThumbnailColor: Colors.blue,
                  )
                  )
                );
           
        },
    ),

...


NOTE : Images taken only for demo purpose

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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