Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(custom_route): update route duration type from int to Duration #2110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ricardodalarme
Copy link

Description

Update the durationInMilliseconds and reverseDurationInMilliseconds parameters in the CustomRoute to use the native Duration type.

The Duration type is the standard type for representing durations in Dart, so there is no need to use an Int type to represent route durations.

- This change is to make the route duration type more flexible.
- The Duration type is the standard type for representing durations in
  Dart, so there is no need to use an int type for representing route
  durations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant