Skip to content

Change duration from int to Duration #65

@guyluz11

Description

@guyluz11

CircularCountDownTimer(duration: 5)
to
CircularCountDownTimer(duration: Duration(seconds: 5))

We can improve the code by changing the duration parameter from int in seconds to Duration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions