flutter_audio_waveforms library

Classes

ActiveInActiveWaveformPainter
A Painter class that all other ActiveInActiveWaveform Painters extend to. The members of this class are essential to draw any waveform that manages the painting of both active and inActive waveform within itself.
ActiveWaveformPainter
A Painter class that all other ActiveWaveform Painters extend to. The members declared in this class are essential to draw ActiveWaveforms. This types of waveform painters draws the active part of the waveform of the audio being played.
AudioWaveform
AudioWaveformState<T extends AudioWaveform>
State of the AudioWaveform
CurvedPolygonWaveform
CurvedPolygonWaveform paints a squiggly waveform. The painter for this waveform is of the type ActiveInActiveWaveformPainter
InActiveWaveformPainter
A Painter class that all other InActiveWaveform Painters extend to. This types of waveform painters draws the whole waveform of the audio being played.
PolygonWaveform
PolygonWaveform paints the standard waveform that is used for audio waveforms, a sharp continuous line joining the points of a waveform.
RectangleWaveform
RectangleWaveform paints a waveform where each sample is represented as rectangle block. It's inspired by the @soundcloud audio track on web.
SquigglyWaveform
SquigglyWaveform paints a squiggly waveform. The painter for this waveform is of the type ActiveInActiveWaveformPainter
WaveformPainter
A Painter class that all the types of Waveform Painters extend to. The memebers of this class are essential to paint any type of waveform.

Enums

WaveformAlignment
Waveform align enum

Extensions

WaveformAlignmentExtension on WaveformAlignment
Extension to get Offset height based on waveform align

Functions

debugMaxandElapsedDuration(Duration? maxDuration, Duration? elapsedDuration) bool
AudioWaveform is a custom StatefulWidget that other Waveform classes extend to.