Skip to content

Null safety migration status

Michael Thomsen edited this page Dec 14, 2020 · 19 revisions

Null safety migration

This page contains stats for the migration of packages on pub.dev to Dart's sound null safety feature.

The data below is based on the following criteria:

  • Package supports null safety: The Dart SDK lower constraint is >= 2.12.0-0
  • Package is unblocked for starting migrating to null safety: All direct dep of the package support null safety
  • Blocking score: The number of packages (incl. transitive deps) only blocked from null-safety migration by this package. If a package is blocked by N dependencies, then it only contributes with a blocking score of 1/N.

Note: Pub.dev also has a list of packages with null safety. This may show a slightly lower count than the "raw" counts below, as some categories of packages (e.g. those marked discontinued) are not shown in the pub.dev search UI.

Summary:

Package counts (each package counts only once)

packages with null safety:                   306

packages without null safety total:          15135
packages without null safety blocked:        5950
packages without null safety unblocked:      9185

packages in total (w. Dart 2.12 support):    15441

Top blocking packages

Top 50 by blocking score (unblocked for migr.):

  http                                      766.7   Yes
  crypto                                    324.0   Yes
  dio                                       189.1   Yes
  args                                      186.5   Yes
  analyzer                                  163.4   No
  shared_preferences                        144.5   No
  shared_aws_api                            108.3   No
  path_provider                             106.9   No
  uuid                                       97.2   No
  build                                      75.0   No
  source_gen                                 57.4   No
  path_provider_platform_interface           49.9   Yes
  tuple                                      46.4   Yes
  pointycastle                               44.4   Yes
  html                                       44.2   No
  permission_handler                         39.2   No
  archive                                    38.8   No
  webview_flutter                            37.9   Yes
  flutter_bloc                               34.7   Yes
  package_info                               33.4   Yes
  _fe_analyzer_shared                        30.8   Yes
  logger                                     30.7   Yes
  redux                                      29.1   Yes
  dart_style                                 28.8   No
  image                                      28.5   No
  cloud_firestore                            28.2   No
  firebase_core                              27.2   No
  image_picker                               26.8   No
  google_maps_flutter                        26.1   No
  hex                                        25.7   Yes
  freezed_annotation                         25.2   Yes
  csslib                                     24.4   Yes
  web_socket_channel                         24.3   No
  angel_framework                            22.5   No
  angular                                    22.4   No
  shelf                                      22.2   Yes
  cached_network_image                       21.6   No
  firebase_auth                              20.8   No
  font_awesome_flutter                       19.1   Yes
  build_config                               19.0   No
  code_builder                               18.9   Yes
  flutter_webview_plugin                     18.8   Yes
  http_server                                18.3   Yes
  flutter_cache_manager                      18.1   No
  grpc                                       18.0   No
  hive                                       17.5   No
  surf_lint_rules                            17.3   Yes
  fluttertoast                               17.0   Yes
  foundation_fluttify                        16.8   Yes
  io                                         16.6   Yes

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (47):
  adaptive_library                         2020-12-10      0.6.0-nullsafety.1
  adbonnin_flutter_carousel                2020-12-08      1.1.0
  base32                                   2020-12-12      2.0.0-nullsafety.1
  buy_me_a_coffee_widget                   2020-12-14      2.0.0-nullsafety.0
  cli_repl                                 2020-12-08      0.2.1-nullsafety
  codemagic_manager                        2020-12-11      0.3.0-nullsafety.1
  connectivity_macos                       2020-12-12      0.2.0-nullsafety
  contact_picker_platform_interface        2020-12-09      4.3.0-nullsafety.2
  contact_picker_web                       2020-12-09      4.3.0-nullsafety.4
  dime                                     2020-12-13      0.5.0-nullsafety.1
  dime_flutter                             2020-12-13      0.5.0-nullsafety.1
  directus                                 2020-12-13      0.0.4
  disposebag                               2020-12-11      1.5.0-nullsafety.0
  equations                                2020-12-11      2.0.0-nullsafety.0
  file_picker                              2020-12-14      3.0.0-nullsafety.0
  flamingo_annotation                      2020-12-13      0.5.0-nullsafety.0
  flouter                                  2020-12-11      0.2.0-nullsafety.1
  flutter_background_service               2020-12-11      0.1.0-nullsafety.0
  flutter_disposebag                       2020-12-11      1.1.0-nullsafety.0
  flutter_fimber                           2020-12-13      0.5.0-nullsafety.1
  flutter_modular_annotations              2020-12-13      0.0.2
  flutter_native_channel                   2020-12-10      0.0.2
  flutter_plugin_android_lifecycle         2020-12-12      2.0.0-nullsafety
  flutter_spanned_controller               2020-12-11      0.1.0-0
  fluttering_phrases                       2020-12-14      0.0.2-nullsafety.1
  format                                   2020-12-10      1.0.1-nullsafety.0
  hidden_drawer                            2020-12-10      0.0.1
  hue_rotation                             2020-12-11      1.0.0-nullsafety.2
  incremental_dom_bindings                 2020-12-12      2.0.0-nullsafety.0
  json_path                                2020-12-12      0.3.0-nullsafety
  material_segmented_control               2020-12-07      3.0.0-nullsafety.1
  maybe_just_nothing                       2020-12-12      0.4.0-nullsafety
  mdi                                      2020-12-10      5.0.0-nullsafety.0
  mime                                     2020-12-08      1.0.0-nullsafety.0
  money2                                   2020-12-10      2.0.1-nullsafety.5
  mutex                                    2020-12-13      2.0.0-nullsafety.0
  open_mail_app                            2020-12-10      0.1.0-nullsafety.0
  pdf_render_platform_interface            2020-12-09      1.0.2-dev
  provider                                 2020-12-10      5.0.0-nullsafety.1
  raspicam                                 2020-12-13      1.0.0
  rtcweb                                   2020-12-10      0.1.0-dev.0
  scoped_model                             2020-12-09      2.0.0-nullsafety.0
  sprintf                                  2020-12-10      6.0.0-nullsafety
  test_reflective_loader                   2020-12-11      0.2.0-nullsafety.0
  vy_language_tag                          2020-12-12      0.2.0-nullsafety
  vy_string_utils                          2020-12-11      0.4.0-nullsafety
  webcrypto                                2020-12-08      0.5.0-null-safety.0
Clone this wiki locally