搜索插件、代码仓与 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.

所属分类

源码仓库

使用此插件的项目