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

scroll_indicator 封面
套件詳情v0.0.3

scroll_indicator

帶有 ListView 或 GridView 監聽控制器的滾動指示器。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
839
喜歡數
32
Pub 分數
140

安裝套件

flutter pub add scroll_indicator

套件介紹

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

一個 Flutter 套件,為 ListView 或 GridView 小部件提供滾動指示器,透過監聽控制器動態更新滾動位置。它以視覺方式顯示滾動進度,顯著提升使用者體驗,特別適用於長清單或網格。該指示器可自訂,並可在 Android、iOS、Web、macOS、Windows 和 Linux 等主要平台正常運作。設計輕量且易於與現有的可滾動組件整合。

適用情境

  • 視覺滾動進度反饋
  • 在長列表中提升使用者體驗
  • 可自定的滾動指示器
  • 跨平台滾動追蹤
  • 與 ListView 和 GridView 的整合
  • 即時滾動位置監控

主要特色

  • 監聽滾動控制器
  • 動態進度指示
  • 跨平台支援
  • 輕量級且依賴最少
  • 可自訂外觀
  • 與 ListView 和 GridView 均相容

適合對象

  • 開發可捲動 UI 的開發者
  • 需要視覺滾動反饋的應用
  • 針對多個平台的專案
  • 專注於使用者體驗的UI設計師
  • Flutter 初學者學習可捲動組件
  • 包含大量內容列表的應用程式

使用建議

  • 需要 ScrollController 才能運作
  • 可能需要針對自訂設計進行樣式調整
  • 限於可滾動的組件,如 ListView 和 GridView
  • 不適用於非滾動佈局
  • 性能影響可忽略不計,但取決於複雜度
  • 最佳搭配平滑滾動動畫使用

原始 README

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

Scroll_Indicator

Scroll indicator inspired by the Shopee application.

Usage

ScrollIndicator(
	scrollController: scrollController,
	width: 50,
	height: 5,
	indicatorWidth: 20,
	decoration: BoxDecoration(
	borderRadius: BorderRadius.circular(10),
	color: Colors.grey[300]),
	indicatorDecoration: BoxDecoration(
	color: Colors.deepOrange,
	borderRadius: BorderRadius.circular(10)),
),

Demo

scroll indicator

Support me on Saweria

https://saweria.co/saddamnur

saweria

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。