dart_analysis 1.0.0 copy "dart_analysis: ^1.0.0" to clipboard
dart_analysis: ^1.0.0 copied to clipboard

Lint rules for Dart and Flutter

example/lib/main.dart

// The following syntax deactivates a lint for the entire file:
// ignore_for_file: avoid_print

void main() {
  /// The following line would normally show a lint warning
  /// but we can disable the lint rule for this line using the following syntax.
  var title = 'hello world'; // ignore: prefer_final_locals

  /// The following line would normally show a lint warning
  /// but we can disable the lint rule for this file using `ignore_for_file`.
  print(title);
}
9
likes
120
pub points
19%
popularity

Publisher

unverified uploader

Lint rules for Dart and Flutter

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

More

Packages that depend on dart_analysis