dart-lint icon indicating copy to clipboard operation
dart-lint copied to clipboard

Need to find if a variable or method can be private through lint

Open SAGARSURI opened this issue 4 years ago • 3 comments

I am not able to find a lint rule which can analyse and tell me if the variable or method can be private.

SAGARSURI avatar Jun 15 '20 13:06 SAGARSURI

I don't think that can be linted. This would need a much deeper analysis.

kuhnroyal avatar Jun 23 '20 16:06 kuhnroyal

Yeah I need this too, looks like Android native can find a variable or method that can be private

rrifafauzikomara avatar Dec 07 '20 17:12 rrifafauzikomara

I'd also like this. Is this referring to variable that is currently public, but is not accessed outside the current file?

kvenn avatar Nov 07 '23 17:11 kvenn