cool_background_animation 0.0.1 copy "cool_background_animation: ^0.0.1" to clipboard
cool_background_animation: ^0.0.1 copied to clipboard

A Flutter package for stunning and customizable background animations.

example/lib/main.dart

import 'package:example/custom_model/rainbow_config.dart';
import 'package:example/rain_bow/rainbow_background.dart';
import 'package:flutter/material.dart';
import 'falling_star_background/fallingStar.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Star Falling Example',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: RainbowBackground(
      config: const RainbowConfig(
        position: RainbowPosition.bottom,
        orientation: RainbowOrientation.down,
        positionOffset: 0.15,
      ),
    ));
  }
}
38
likes
0
points
174
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for stunning and customizable background animations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on cool_background_animation