-
Notifications
You must be signed in to change notification settings - Fork 166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
|
||
Do apply `@Deprecated()` consistently: | ||
|
||
- if a class is deprecated its contructors should also be deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> if a class is deprecated, its constructors should also be deprecated.
Do apply `@Deprecated()` consistently: | ||
|
||
- if a class is deprecated its contructors should also be deprecated. | ||
- if a field is deprecated the contructor parameter pointing to it should also be deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> if a field is deprecated, the constructor parameter pointing to it should also be deprecated.
|
||
- if a class is deprecated its contructors should also be deprecated. | ||
- if a field is deprecated the contructor parameter pointing to it should also be deprecated. | ||
- if a contructor parameter pointing to a field is deprecated the field should also be deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> if a constructor parameter pointing to a field is deprecated, the field should also be deprecated.
|
||
Do apply `@Deprecated()` consistently: | ||
|
||
- if a class is deprecated, its contructors should also be deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contructors => constructors
Do apply `@Deprecated()` consistently: | ||
|
||
- if a class is deprecated, its contructors should also be deprecated. | ||
- if a field is deprecated, the contructor parameter pointing to it should also be deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contructor => constructor
|
||
- if a class is deprecated, its contructors should also be deprecated. | ||
- if a field is deprecated, the contructor parameter pointing to it should also be deprecated. | ||
- if a contructor parameter pointing to a field is deprecated, the field should also be deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contructor => constructor
@pq sorry for the double fix and thanks for the double check :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
💎
no worries. Thanks for the follow-through! |
Lint to apply
@Deprecated()
consistently:Related to flutter/flutter#75903, flutter/flutter#75813, and https://docs.google.com/document/d/1gR-uEryHrAtkU8-6rTg489JbxtBOnTqG_W3WDCcfU00/edit?usp=sharing&resourcekey=0-6Oy2jitxjIWgBFntFZsWmg