You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hixie opened this issue
Jan 4, 2019
· 1 comment
· Fixed by #81632
Labels
engineflutter/engine repository. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.P3Issues that are less important to the Flutter projectteamInfra upgrades, team productivity, code health, technical debt. See also team: labels.
In the engine and framework we are inconsistent about how we handle classes that are all static methods.
Sometimes they're abstract, sometimes they're not; sometimes they have X._() constructors, sometimes they have factory X._() => null constructors.
I think we should standardize on non-abstract with factory X._() => null constructors, with the same comment as we currently have for PluginUtilities.
The text was updated successfully, but these errors were encountered:
Hixie
added
team
Infra upgrades, team productivity, code health, technical debt. See also team: labels.
framework
flutter/packages/flutter repository. See also f: labels.
engine
flutter/engine repository. See also e: labels.
labels
Jan 4, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
engineflutter/engine repository. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.P3Issues that are less important to the Flutter projectteamInfra upgrades, team productivity, code health, technical debt. See also team: labels.
In the engine and framework we are inconsistent about how we handle classes that are all static methods.
Sometimes they're abstract, sometimes they're not; sometimes they have
X._()
constructors, sometimes they havefactory X._() => null
constructors.I think we should standardize on non-abstract with
factory X._() => null
constructors, with the same comment as we currently have forPluginUtilities
.The text was updated successfully, but these errors were encountered: