Skip to content

🐛 TaskProgressIndicator fails due to progress being NaN #490

@OutdatedGuy

Description

@OutdatedGuy

Is there an existing issue for this?

  • I have searched the existing issues and found no duplicates.

What plugin is this bug for?

Firebase UI Storage

What platform(s) does this bug affect?

Android

List of dependencies used.

flutter pub deps -s list
  

Steps to reproduce

  1. Setup the example app of firebase_ui_storage
  2. Run the PrgressBar option
  3. See errors logged in terminal

Expected Behavior

TaskProgressIndicator to show proper LinearProgressIndicator.

Actual Behavior

The following UnsupportedError was thrown building LinearProgressIndicator(100.0%, dependencies: [Directionality, InheritedCupertinoTheme, _InheritedTheme, _LocalizationsScope-[GlobalKey#9c5a3]], state: _LinearProgressIndicatorState#e98a9(ticker inactive)):
Unsupported operation: Infinity or NaN toInt

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions