v0.0.7
jumping_dot
我们旨在为Flutter开发者提供一种动画跳动的点状指示器。
27喜欢 1.8万近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
跳动的点指示器
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
Jumping Dot Indicator (null safety)
jumping dot
To use this plugin, add jumping_dot as a
dependency in your pubspec.yaml file.
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),
),
),
);
}
}
| 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 |
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.