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

Remove direct uses of LocalPlatform #56605

Merged
merged 2 commits into from May 11, 2020

Conversation

natebosch
Copy link
Contributor

@natebosch natebosch commented May 7, 2020

When const LocalPlatform is used immediately and not passed as a
dependency it does not have utility over the static properties from
dart:io. Remove these uses to reduce the noise around how the
instantiable Platform class is used.

Description

Internal cleanup.

Tests

There are no visible behavior changes, existing tests should pass.

When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
@fluttergithubbot fluttergithubbot added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. tool Affects the "flutter" command-line tool. See also t: labels. labels May 8, 2020
@natebosch natebosch merged commit 59a8ef3 into flutter:master May 11, 2020
@natebosch natebosch deleted the local-platform-indirection branch May 11, 2020 19:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team Infra upgrades, team productivity, code health, technical debt. See also team: labels. tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants