Import Wave

Before we begin get the package and add it to your pubspec.yaml

Add wave to your dependencies in your pubspec.yaml

wave: ^0.0.8

Then import it.

import 'package:wave/wave.dart';

Now the wave widget is ready to use.

Use it

The wave widget has various different properties for full customization. The author wants to soon incorporate a static mode and a random mode. Sadly, at the time of writing this these features are not present. Anyways here is the code corresponding to the Gif above.

To make sure that the waves extend from left to right remove padding from parent widgets. Have fun coding!