[proposal] add const
at compile time (where possible)
#56669
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-enhancement
A request for a change that isn't a bug
related issues
const
ness flutter/flutter#149932note quote from the former
proposal
if a linter is able to tell if a variable, a constructor or (in flutter) a child should be a constant,
wouldn't be more developer friendly to automatically make it a constant at compile time
without (quote) "nagging developers"
The text was updated successfully, but these errors were encountered: