null_safety_percentage 2.1.1  null_safety_percentage: ^2.1.1 copied to clipboard
null_safety_percentage: ^2.1.1 copied to clipboard
Command-line tool to provide null-safety percentage info of a project. Track your migration progress on mixed-version programs that execute with unsound null safety.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate null_safety_percentageUse it
The package has the following executables:
$ null_safety_percentage
Use this package as a library
Depend on it
Run this command:
With Dart:
 $ dart pub add null_safety_percentageWith Flutter:
 $ flutter pub add null_safety_percentageThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
  null_safety_percentage: ^2.1.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:null_safety_percentage/null_safety_percentage.dart';