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

插件详情v0.0.2

animated_flutter_widgets

这个功能强大的包可让您轻松地为任何小部件添加令人着迷的动画,同时还提供预设计的动画小部件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
71
喜欢数
56
Pub 分数
140

安装插件

flutter pub add animated_flutter_widgets

插件介绍

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

一个功能多样的 Flutter 包,可让开发者轻松地为任何小部件添加引人入胜的动画。它提供了一系列预先设计好的动画小部件,简化了增强 UI 交互性和视觉吸引力的过程。支持所有主要平台,非常适合在无需编写大量自定义动画代码的情况下创建引人入胜的用户体验。该包文档详尽,并能无缝集成到现有项目中。

适合场景

  • 创建动态 UI 元素
  • 增强应用入门屏幕
  • 为按钮添加微交互
  • 动画列表项
  • 通过视觉反馈提升用户参与度

主要特点

  • 预构建的动画控件
  • 与现有 UI 的轻松集成
  • 跨平台支持
  • 最小化样板代码
  • 流畅的性能
  • 可自定义的动画参数

适合对象

  • 寻求视觉魅力的UI设计师
  • 开发交互式应用的开发者
  • 专注于精致用户体验的初创公司
  • 内容引人入胜的教育类应用
  • 需要微妙但有效的动画的应用程序

使用建议

  • 可能会略微增加包大小
  • 需要了解基本的动画概念
  • 对低端设备的性能影响
  • 对高级效果的自定义有限
  • 不适合高度复杂的动画序列

原始 README

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

pub package


animated_flutter_widgets



Introduction

Elevate your Flutter app's user interface to a whole new level with animated_flutter_widgets. This versatile package lets you effortlessly add mesmerizing animations to any widget while also offering a collection of pre-designed animated widgets for accelerated development.

Supported platforms

  • Android
  • iOS
  • Web
  • MacOS
  • Windows
  • Linux

Features

* Steady Animations

screen

* Continuous Animations

screen

* Page Transition Animations

screen

* Button Tap Animations

screen

* Animated ListViews

screen

* Animated GridViews

screen

* Animated AppBars

screen

Usage

/// Check example project to explore other animations as well
/// To use these animations(Steady, Continuous & Tap Animations) wrap your widget inside the animation widgets
SlideInAnimation(
 direction: Direction.right,
 duration: const Duration(seconds: 1),
 child: YourWidget()
);

Cube3DAnimation(
 sideLength: 100,
 duration: const Duration(seconds: 4),
 isContinuous: true,
 child: YourWidget()
);

LongTapAnimation(
// pressDuration: Duration(seconds: 0),
 child: YourWidget()
);

/// To use Animated ListView & GridView
AnimatedListViewBuilder(
 itemCount: 25, // Change this to your desired item count
 customColor: ColorUtility.magenta, // Use this if you are using CollectionAnimationType.listColored
 animationType: CollectionAnimationType.leftScale, //Change this to your desired animation type
 itemBuilder: (context, index) {
  return YourWidget()
 }
);

AnimatedGridViewBuilder(
 itemCount: 25, // Change this to your desired item count
 animationType: CollectionAnimationType.scaleOut, //Change this to your desired animation type
 itemBuilder: (context, index) {
  return YourWidget()
 }
);

/// To use Animated AppBar
SlideInAnimatedAppBar(
 backgroundColor: ColorUtility.magenta,
 animationDuration: 1000,
 title: const Text('Second Page'),
)

/// To use Page Transition Animations
Navigator.push(context,PopAndScaleTransition(page: YourPage()));

Example

Check out the example

License

MIT License

Issues and feedback

If you have any suggestions for including a feature or if something doesn't work, feel free to open a Github issue or to open a pull request, you are more than welcome to contribute!

Contributor

所属分类

源码仓库

使用此插件的项目

暂无相关数据。