搜索插件、代码仓与 APP 分类

插件详情v3.0.2

flare_flutter

适用于 Flutter 的矢量设计和运行时动画。

近 30 天下载
1.5万
喜欢数
738
Pub 分数
40

安装插件

flutter pub add flare_flutter

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Flare Flutter 是一个功能强大的包,可将基于矢量的设计和流畅的运行时动画集成到 Flutter 应用程序中。由 rive.app 开发,它使设计师和开发者能够使用 Flare 格式创建交互式、可缩放的动画。这些动画轻量且性能出色,非常适合游戏和动态用户界面。该包支持实时动画控制、状态管理,并与 Flutter 的小部件系统无缝集成。特别适用于通过流畅的动作和响应式视觉效果创造引人入胜的用户体验。

适合场景

  • 交互式应用界面
  • 游戏角色动画
  • 加载和过渡效果
  • 动画图标和按钮
  • 入门流程

主要特点

  • 基于向量的动画
  • 实时动画控制
  • 无缝的 Flutter 集成
  • 轻量级性能
  • 对复杂状态驱动动画的支持

适合对象

  • 游戏开发者
  • UI/UX 设计师
  • 寻求丰富动画的App开发者
  • 使用 Flare 进行设计的团队
  • 需要可扩展矢量图形的项目

使用建议

  • 需要 Flare 设计文件 (.flr)
  • Flare 工具的学习曲线
  • 对非 Flare 工作流的原生支持有限
  • 最适合拥有专用设计资源的项目
  • 使用大量动画可能会增加构建大小

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

:warning: Please migrate to the new Rive Flutter runtime. This runtime is for the old Rive (formerly Flare) and will only receive updates for breaking issues with Flutter and egregious bugs. New features and updates are only planned for the new Rive.

Rive 1 (previously Flare)

Rive 1 (previously Flare) offers powerful realtime vector design and animation for app and game designers alike. The primary goal of Flare is to allow designers to work directly with assets that run in their final product, eliminating the need to redo that work in code.

Null Safety

Preview of null safety is now available on pub.dev with version 3.0.0. Include it in your pubspec via:

  dependencies:
    flare_flutter: ^3.0.0-nullsafety.0

Packages

There used to be two Dart packages provided in this repository. flare_dart is no longer maintained as a separate package, it has now been rolled into flare_flutter. Please use only flare_flutter going forward.

Examples

Take a look at the provided example applications.

Please note that only the simple, change_color, and teddy have been updated to null safety.

License

See the LICENSE file for license rights and limitations (MIT).

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目