GitHub 儲存庫yashas-hm/lava-lamp-effect

熔岩燈效果

🌋✨ 將您的應用沉浸於熔岩運動的 hypnotic 美麗之中,設計出令人著迷、流動的動畫效果。🫧

熔岩燈效果 專案封面
星標
7
分支
1
最近推送(UTC)
2025年5月6日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Lava Lamp Effect

🌋✨ 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. 🫧

Demo

Demo

Show some ❤️ and ⭐️ the Repo

Resources:

How to Use?

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! 🎛️🎶

Features

  • 🫧 Smooth, organic lava motion
  • 🎨 Fully customizable color palette
  • 🧊 Adjustable blob size and count
  • ⏱️ Control animation speed and cycle time

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  lava_lamp_effect: ^1.0.0

Contributions

License

This project is licensed under the MIT License, see the LICENSE file for details.

Credits

This package is inspired by flutter_lava_clock by Jaime Blasco.

Yashas H Majmudar GitHub avatar
GitHub 作者

Yashas H Majmudar ↗

📱 Full Stack Developer and Flutter sorcerer, weaving magic into mobile apps and web solutions. Developer by day and a Musician by night. 🎶

SWE @ NestUSA官方網站 ↗
語言Dart

分類

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項

  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^5.0.0

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

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

GitHub Docs — About repositories ↗