Last updated:
0 purchases
simple wave
simple_wave #
A Flutter plugin for wave animation.
Usage #
To use this plugin, add simple_wave as a dependency in your pubspec.yaml file.
Example #
Import the library.
import 'package:simple_wave/simple_wave.dart';
copied to clipboard
Then invoke the SimpleWaveWidget method to create simple wave.
SimpleWaveWidget()
copied to clipboard
The SimpleWaveWidget method also takes optional waveWidth, waveHeight, waveColor, amplitude, waveMilliseconds arguments.
SimpleWaveWidget(
waveWidth: 300, // this changes width of wave
waveHeight: 150, // this changes height of wave
waveColor: Colors.blue, // this changes color of wave
amplitude: 50, // this changes height of wave
waveMilliseconds: 5000, //this changes speed of wave
numberOfWave: 10, //this changes number of waves
)
copied to clipboard
Checkout this package demo in Flutter Web.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.