drop_animation 0.0.4 copy "drop_animation: ^0.0.4" to clipboard
drop_animation: ^0.0.4 copied to clipboard

Drop Animation is a simple Flutter package that adds customizable drop animations to your app.

example/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Drop Animation Demo',
      home: Scaffold(
        appBar: AppBar(title: const Text('Drop Animation Demo')),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              // Animasyon widget'ı
              Expanded(child: DropAnimationScreen()),
              // Butona basıldığında yeni damla eklenir
              ElevatedButton(
                onPressed: () {
                  DropAnimationScreen.triggerAddDrop();
                },
                child: const Text('Add Drop'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

Drop Animation is a simple Flutter package that adds customizable drop animations to your app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on drop_animation