FLUTTER ECOSYSTEM

rezam92/jumping_dot

跳動的點指示器

跳動點 專案封面
Stars
6
Forks
3
最近推送(UTC)
2024年6月26日
專案狀態
未封存
Reza GitHub avatar
GITHUB User

Reza ↗

Mr. Reza

Runwidget (KBW)
語言DartHTMLSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 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.