GitHub repositoryyashas-hm/lava-lamp-effect

lava-lamp-effect

🌋✨ Immerse your app in the hypnotic beauty of molten motion designed to bring mesmerizing, fluid animations to life. 🫧

lava-lamp-effect project cover
Stars
7
Forks
1
Last push (UTC)
May 6, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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 author

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. 🎶

LanguagesDart

Categories

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^5.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

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

GitHub Docs — About repositories ↗