wave_animation 1.0.0 copy "wave_animation: ^1.0.0" to clipboard
wave_animation: ^1.0.0 copied to clipboard

A customizable wave animation widget for Flutter with null-safe options.

example/main.dart

import 'package:flutter/material.dart';
import 'package:wave_animation/wave_animation.dart';
  
void main() {
  runApp(const WaveExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Wave Animation Example',
      home: Scaffold(
        appBar: AppBar(title: const Text('Wave Animation Example')),
        body:   const Center(
          child: WaveWidget(
            height: 200,
            gradientColors1: [Colors.blue, Colors.lightBlueAccent],
            gradientColors2: [Colors.purple, Colors.pinkAccent],
            speed: 0.8,
            pattern: WaveMotionPattern.flowField,
          ),
        ),
      ),
    );
  }
}
3
likes
0
points
204
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable wave animation widget for Flutter with null-safe options.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on wave_animation