v1.0.3lava_lamp_effect
一个提供可自定义熔岩灯效果的组件,具有流畅的动画、可调节的颜色、大小和速度。
🌋✨ 将您的应用沉浸于熔岩运动的迷人之美,打造令人着迷、流畅的动画效果。🫧
以下为英文项目原文快照,最新内容请访问 GitHub。
🌋✨ Immerse your app in the hypnotic beauty of molten motion with the lava_lamp_effect, a Flutter package designed to
bring mesmerizing, fluid animations to life. 🫧

Resources:
Adding this bubbly beauty to your UI is smoother than a lava blob floating to the top. Customize it with parameters like size, color, lavaCount, and speed to shape your very own lamp of wonder. 🛠️🌈
import 'package:flutter/material.dart';
import 'package:lava_lamp_effect/lava_lamp_effect.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Lava Lamp Effect Demo'),
),
body: Center(
child: LavaLampEffect(
size: Size(300, 500),
color: Colors.deepPurple,
lavaCount: 4,
speed: 1,
repeatDuration: Duration(seconds: 10),
),
),
),
);
}
}
Want a faster flow or more blobs? Crank up the speed or lavaCount and let the animation groove! 🎛️🎶
Add this to your package's pubspec.yaml file:
dependencies:
lava_lamp_effect: ^1.0.0
This project is licensed under the MIT License, see the LICENSE file for details.
This package is inspired by flutter_lava_clock by Jaime Blasco.
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗