In flutter library provide a properties getters and setters in dart syntax, as a property, instead of methods get*() and set*() #972
Labels
enhancement
New feature or request
flutter
Affect flutter platform
v6.0
wontfix
This will not be worked on
See https://dart-dev.web.app/language/methods#getters-and-setters to understand what I mean.
Now Your implementation contains access methods in form of pairs like this:
For backward compatibility I suggest to leave existing methods with
@Deprecated()
directive.So I would like to see something like this in next few releases:
And finally leave only this:
It will allow use a form like
instead of
not so big changes, but it will more dart-styled code. It is worth.
The text was updated successfully, but these errors were encountered: