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

Use double literals where a double type is expected #27929

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

mkustermann
Copy link
Member

This makes the code more consistent but also fixes our flutter-analyze bot.

Issue dart-lang/sdk#35940

This makes the code more consistent but also fixes our flutter-analyze
bot.

Issue dart-lang/sdk#35940
@@ -802,7 +802,7 @@ class Curves {
/// Derived from Robert Penner’s easing functions.
///
/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_quart.mp4}
static const Cubic easeInOutQuart = Cubic(0.77, 0, 0.175, 1.0);
static const Cubic easeInOutQuart = Cubic(0.77, 0.0, 0.175, 1.0);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code already uses 1.0 instead of 1. So this makes it more consistent.

@zoechi zoechi added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. framework flutter/packages/flutter repository. See also f: labels. a: animation Animation APIs labels Feb 14, 2019
@mkustermann mkustermann merged commit 7862bef into flutter:master Feb 15, 2019
tvolkert added a commit that referenced this pull request Feb 15, 2019
…1" (#28006)

Re-applies #27409 by reverting #27919

The analyzer issue (dart-lang/sdk#35940) has been temporarily
worked around by virtue of #27929
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: animation Animation APIs framework flutter/packages/flutter repository. See also f: labels. team Infra upgrades, team productivity, code health, technical debt. See also team: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants