glorylab / wave

A Flutter package for displaying waves.
https://wave.glorylab.xyz
MIT License
1.11k stars 96 forks source link
animation dart dartlang flutter wave

WAVE

Flutter package: tm - WAVE

Awesome: Flutter Pub GitHub

A Flutter package for displaying waves.

Demo

Platform Branch URL
Web master wave.glorylab.xyz
Web develop dev.wave.glorylab.xyz

Getting Started


static const _backgroundColor = Color(0xFFF15BB5);

static const _colors = [
    Color(0xFFFEE440),
    Color(0xFF00BBF9),
];

static const _durations = [
    5000,
    4000,
];

static const _heightPercentages = [
    0.65,
    0.66,
];

WaveWidget(
    config: CustomConfig(
        colors: _colors,
        durations: _durations,
        heightPercentages: _heightPercentages,
    ),
    backgroundColor: _backgroundColor,
    size: Size(double.infinity, double.infinity),
    waveAmplitude: 0,
),