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

套件詳情v0.0.7

jumping_dot

我們旨在為Flutter開發者提供一種動畫跳動的點狀指示器。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
1.7萬
喜歡數
27
Pub 分數
140

安裝套件

flutter pub add jumping_dot

套件介紹

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

Jumping Dot 是一個 Flutter 套件,提供動畫跳躍點指示器,非常適合用於視覺化載入狀態。它具備平滑、有節奏的動畫效果,點依序上下彈跳,創造出生動且引人入勝的使用者體驗。設計簡單易於整合,能提升跨平台應用中的載入指示器。此套件支援 Android、iOS、Web、macOS、Windows 與 Linux,適用於多種跨平台開發情境。非常適合用於啟動畫面、表單提交,或任何需要細膩卻動態回饋的場景。

適用情境

  • 載入狀態指示器
  • 啟動畫面
  • 表單提交反饋
  • 後台任務進度
  • 使用者介面增強功能

主要特色

  • 平滑的彈跳動畫
  • 跨平台相容性
  • 最小設定
  • 可自訂的速度和大小
  • 支援多個平台
  • 輕量且高效

適合對象

  • 尋求動畫加載指示器的開發者
  • 具有現代UI設計的應用程式
  • 跨平台 Flutter 項目
  • 簡單卻吸引人的使用者介面元素
  • 專注於微互動的前端開發人員

使用建議

  • 限制為基於點的動畫
  • 不適用於複雜的進度追蹤
  • 可能需要為獨特設計進行客製化
  • 在擁有大量實例的低階設備上的效能影響
  • 最適合用於短時間的加載狀態

原始 README

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

jumping_dot

Jumping Dot Indicator (null safety)

jumping dot

Usage Jumping Dot

To use this plugin, add jumping_dot as a dependency in your pubspec.yaml file.

Example usage :
class Example extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: JumpingDots(
          color: Colors.yellow,
          radius: 10,
          numberOfDots: 3,
          animationDuration = Duration(milliseconds: 200),
        ),
      ),
    );
  }
}
Parameter
Parameters Type Is Required Description
numberOfDots int No Number of dots
color Color No Color of dots
radius double No Animation duration in milliseconds
animationDuration Duration No animation duration in milliseconds
innerPadding double No Padding between dots
verticalOffset Defines how much the animation will offset negatively in the y axis. Can be either positive or negative, as it'll later be converted into its. negative value. Non-finite or zero (0) values are not accepted
delay int No The delay in milliseconds between animations

Getting Started flutter

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

所屬分類

原始碼儲存庫

使用此套件的專案