GitHub 代码仓letsar/atomized_image

atomized_image

一个用于绘制和动画化图像粒子以实现原子化效果的组件

atomized_image 项目封面
星标
46
复刻
2
最近推送(UTC)
2023年4月11日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Pub Sponsor me

atomized_image

A widget which paints and animates images with particles to achieve an atomized effect.

Credits to Jason Labbe, for the original sketch from where most of the code of this package is.

Overview

Install

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  atomized_image: <latest_version>

In your library add the following import:

import 'package:atomized_image/atomized_image.dart';

Getting started

Example:

AtomizedImage(
  // Use an ImageProvider to get the image you want to atomize.
  image: NetworkImage('https://pbs.twimg.com/profile_images/653618067084218368/XlQA-oRl_400x400.jpg'),
)

To change the image and animates the particles again, just change the image provider with a new one.

Sponsoring

I'm working on my packages on my free-time, but I don't have as much time as I would. If this package or any other package I created is helping you, please consider to sponsor me so that I can take time to read the issues, fix bugs, merge pull requests and add features to these packages.

Contributions

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.

Romain Rastel GitHub avatar
GitHub 作者

Romain Rastel ↗

Flutter Developer

Rennes, France官方网站 ↗
语言DartHTMLRubySwiftKotlinObjective-C

分类

此仓库发布的插件

使用的依赖

依赖清单 3 项

  • flutter{"sdk":"flutter"}
  • vector_math^2.0.8
  • flutter_test开发依赖{"sdk":"flutter"}

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗