Skip to content

Incorrect UI when setting Duration.zero #441

@maxpelna

Description

@maxpelna

Describe the bug

When setting animationDuration: Duration.zero for AudioFileWaveforms, the waveform displays incorrectly

To Reproduce

Steps to reproduce the behavior:

  1. In the example app, open the chat_bubble.dart file
  2. Locate AudioFileWaveforms and add animationDuration: Duration.zero
  3. Reload the app and check UI

Expected behavior

Waveforms should display waves that match the audio instead of flat line

Smartphone:

  • Device: iPhone 16 simulator
  • OS: iOS 18.5
  • Version: 1.3.0

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions