flutterfall 1.0.5 copy "flutterfall: ^1.0.5" to clipboard
flutterfall: ^1.0.5 copied to clipboard

A Flutter package to create falling effects using custom images.

example/example.dart

import 'package:flutter/material.dart';
import 'package:flutterfall/flutterfall.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Container(
          width: MediaQuery.of(context).size.width,
          height: MediaQuery.of(context).size.height,
          color: Colors.black,
          child: const Stack(
            children: [
              Positioned.fill(
                  child: FlutterFall(
                isRunning: true,
                totalObjects: 40,
                speed: 0.05,
                particleImage: ['assets/snowflake.png'],
                particleSize: 30,
                rotationSpeed: 0.02,
                windSpeed: 1.0,
              ))
            ],
          ),
        ),
      ),
    );
  }
}
8
likes
0
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to create falling effects using custom images.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutterfall