flutter 动画json_使用此插件轻松在flutter App中显示令人惊叹的Lottie动画

Fluttie是一个Flutter插件,用于显示由Lottie创建的动画,即使是很复杂的动画也不需要编写复杂的自定义渲染代码。它可以将Lottie Android库的输出渲染到Flutter纹理中。注意,该插件目前不支持iOS设备,且控制多个动画可能有些延迟,可能降低应用的帧率。在使用时需要确保动画组件有固定大小,并避免重复使用动画。
摘要由CSDN通过智能技术生成

fluttie: Lottie for flutter

Fluttie (github, pub) is a flutter plugin for displaying animations created in Lottie. Even complex animations can be displayed without having to write long custom rendering code. The library can render the animations by piping the output from the Lottie Android library into a Flutter texture.

You can download a small Flutter app for Android showing what Fluttie looks like in action. This app can also be used to easily preview animations from lottiefiles.com, which might be handy when deciding what animations to use.

Please note: At the moment, this plugin does not support iOS devices.

Things to keep in mind when using this:

No iOS support yet

Due to a delay between the dart code and the native backend, controlling multiple animations can be a bit laggy. Rendering multiple animations will reduce your app's framerate.

Animation widgets need a fixed size for n

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值