avoid_null_check_operator 0.1.0 copy "avoid_null_check_operator: ^0.1.0" to clipboard
avoid_null_check_operator: ^0.1.0 copied to clipboard

An analysis rule that warns about null check operator usage.

A Dart analyzer plugin that warns about null check operator (!) usage.

Requires Dart 3.10+ (Flutter 3.38+).

Usage #

Add to your pubspec.yaml:

dev_dependencies:
  avoid_null_check_operator: ^1.0.0

Then add to analysis_options.yaml:

plugins:
  avoid_null_check_operator: ^1.0.0

Restart the Dart Analysis Server to activate.

0
likes
130
points
32
downloads

Documentation

API reference

Publisher

verified publisherwolverinebeach.net

Weekly Downloads

An analysis rule that warns about null check operator usage.

License

Apache-2.0 (license)

Dependencies

analysis_server_plugin, analyzer

More

Packages that depend on avoid_null_check_operator