Skip to content

Commit

Permalink
fix: selfreview
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithdv committed Nov 1, 2024
1 parent 308729d commit ca77c92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class AvoidHardcodedColor extends DartLintRule {
final element = node.staticElement;
if (element is PropertyAccessorElement) {
final returnType = element.returnType;
// Allow Colors.transparent as a valid hardcoded color.
// Allow Colors.transparent as a valid hardcoded color, as it serves.
if (node.identifier.name == 'transparent') {
return;
}
Expand Down

0 comments on commit ca77c92

Please sign in to comment.