Add a hint to identify unused variables #16812
Labels
analyzer-warning
Issues with the analyzer's Warning codes
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
There should be a hint that would identify unused variables. The following are some examples:
import 'dart:html';
int myint1;//Not Used
int myint2=0;//Not Used
void main() {
int myint3=0;//Not Used
int myint4;//Not Used
String myStr;//Not Used
}
The text was updated successfully, but these errors were encountered: