搜尋套件、儲存庫與 APP 分類

套件詳情v2.0.1

flutter_image_carousel_slider

Flutter 圖片輪播滑塊,實現平滑滑動。在 Flutter 中,輪播滑塊是一種 UI 小部件,用於以水平滾動方式顯示一系列項目。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
103
喜歡數
36
Pub 分數
150

安裝套件

flutter pub add flutter_image_carousel_slider

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個用於建立順暢水平圖像輪播滑塊的 Flutter 套件。它讓使用者能以可滾動、互動式格式顯示一連串圖片,非常適合展示相簿、產品圖片或促銷內容。此元件著重於效能與易用性,支援 Android、iOS、Web、macOS、Windows 與 Linux 等多個平台。滑塊提供可自訂的過渡效果與響應式行為,適用於從簡單到複雜的各種 UI 設計。

適用情境

  • 展示產品圖片
  • 顯示促銷橫幅
  • 建立影像相簿
  • 實現入門畫面
  • 功能媒體內容
  • 支援響應式版面

主要特色

  • 平滑的水平滾動
  • 跨平台相容性
  • 可自定義的幻燈片過渡
  • 響應式設計支援
  • 與現有小部件的輕鬆整合
  • 支援無限循環模式

適合對象

  • 電子商務應用
  • 旅遊和旅遊網站
  • 媒體和娛樂平台
  • 行動和網路應用
  • 尋求可重用組件的UI設計師
  • 開發者優先考慮跨平台一致性

使用建議

  • 可能需要對大型圖像集進行優化
  • 有限的內建手勢自訂
  • 性能取決於影像載入策略
  • 不適用於垂直輪播
  • 處理高解析度圖像需要仔細的記憶體管理
  • 最適合每張投影片包含中等數量的圖像

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter image carousel slider

Features

Fast flutter image carousel slider and smooth slides

Getting started

A carousel slider in Flutter is a UI widget used to display a series of items horizontally in a scrolling manner, typically with one item visible at a time. It allows users to swipe or scroll through the items, providing a visually appealing and interactive way to navigate content. Image carousels, commonly referred to as sliders, are interactive elements on web pages that showcase multiple images or content pieces in a rotating sequence. Originating as simple photo sliders, their evolution has been influenced significantly by advancements in web technology.

to use this package import the latest package and directly pass the images path like this-->

ImageCarouselSlider(items: imageList),

image

To show images in gallery view just use like this

 InkWell(
         onTap: () {
             Navigator.of(context)
                .push(MaterialPageRoute(
                  builder: (context) {
                          return ImageListView(
                            imageList: imageList,
                          );
                        }));
                       
                      },
      child:
         ImageCarouselSlider(
              items: imageList,
              imageHeight: 300,
              dotColor: Colors.black,
            ),
                    ),

image

/// To show image carousel left right viewportFraction InkWell( onTap: () { Navigator.of(context) .push(MaterialPageRoute(builder: (context) { return ImageListView( imageList: imageList, ); })); },

            ///user can add image height and dots color
            child: ImageCarouselSliderLeftRightShow(
              items: imageList,
              imageHeight: 300,
              dotColor: Colors.black,
            ),
          ),

image

for Asset image AssetImageCarouselSliderLeftRightShow( items: imageList, imageHeight: 300, dotColor: Colors.black, ),

           AssetImageCarouselSlider(
              items: imageList,
              imageHeight: 300,
              dotColor: Colors.black,
            ),

Any help or suggestion contact me naveensheoran1000@gmail.com or telegram @NaveenSheoran777

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。