Skip to content

Null safety migration status

Filip Hracek edited this page Jan 21, 2021 · 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:                   570

packages without null safety total:          15645
packages without null safety blocked:        5792
packages without null safety unblocked:      9853

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

Top blocking packages

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

  http                                      875.5   Yes
  dio                                       220.0   Yes
  shared_aws_api                            216.5   No
  analyzer                                  187.2   No
  path_provider                             163.0   No
  shared_preferences                        161.4   No
  uuid                                      138.6   Yes
  build                                      80.2   No
  source_gen                                 59.7   No
  pointycastle                               53.3   Yes
  html                                       49.6   No
  image                                      49.1   Yes
  permission_handler                         45.6   No
  cloud_firestore                            44.0   No
  package_info                               40.7   Yes
  web_socket_channel                         36.0   Yes
  _fe_analyzer_shared                        34.5   Yes
  dart_style                                 34.3   No
  image_picker                               32.2   No
  freezed_annotation                         32.0   Yes
  hex                                        31.5   Yes
  google_maps_flutter                        30.5   No
  redux                                      29.4   Yes
  csslib                                     26.0   Yes
  angel_framework                            24.6   No
  cached_network_image                       24.4   No
  shelf                                      24.1   Yes
  hive                                       23.4   Yes
  angular                                    22.8   No
  flutter_webview_plugin                     22.1   Yes
  code_builder                               22.0   Yes
  flutter_cache_manager                      20.9   No
  http_server                                20.9   Yes
  io                                         20.7   Yes
  build_config                               20.6   No
  surf_lint_rules                            18.5   Yes
  grpc                                       18.5   No
  encrypt                                    17.4   No
  foundation_fluttify                        16.8   Yes
  quiver_hashcode                            16.7   Yes
  build_runner                               16.3   No
  flutter_hooks                              15.5   Yes
  mango_ui                                   14.5   Yes
  get                                        14.3   Yes
  universal_html                             14.3   No
  uri                                        14.2   No
  stagexl                                    13.8   Yes
  dart2_constant                             13.3   Yes
  event_bus                                  13.2   Yes
  flare_flutter                              13.0   No

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (48):
  path_provider_windows                    2021-01-21      0.1.0-nullsafety
  firebase_core                            2021-01-21      0.8.0-nullsafety.1
  firebase_core_platform_interface         2021-01-21      4.0.0-nullsafety.0
  firebase_core_web                        2021-01-21      0.3.0-nullsafety.0
  firebase_auth                            2021-01-21      0.21.0-nullsafety.0
  firebase_auth_platform_interface         2021-01-21      4.0.0-nullsafety.1
  firebase_auth_web                        2021-01-21      0.4.0-nullsafety.1
  archive                                  2021-01-20      3.0.0-nullsafety.0
  cloud_functions                          2021-01-20      0.9.1-nullsafety.1
  cloud_functions_platform_interface       2021-01-20      4.0.2-nullsafety.1
  cloud_functions_web                      2021-01-20      3.1.4-nullsafety.1
  html_unescape                            2021-01-21      2.0.0-nullsafety.0
  responsive_builder                       2021-01-21      0.4.0-nullsafety.1
  wakelock_macos                           2021-01-17      0.1.0-nullsafety.0
  reflectable                              2021-01-21      3.0.0-nullsafety.1
  built_value_generator                    2021-01-19      8.0.0-nullsafety.0
  extra_pedantic                           2021-01-15      1.2.1-nullsafety.0
  flutter_snake_navigationbar              2021-01-16      0.4.3-nullsafety.0
  grinder                                  2021-01-17      0.9.0-nullsafety.0
  flutter_provider                         2021-01-20      2.0.0-nullsafety.0
  week_of_year                             2021-01-19      2.0.0-nullsafety.0
  widget_arrows                            2021-01-17      0.2.0-nullsafety.0
  t_stats                                  2021-01-21      3.0.0-nullsafety.0
  blurhash                                 2021-01-20      0.3.0-nullsafety.0
  flutter_bloc_pattern                     2021-01-21      2.0.0-nullsafety.1
  json_serializable_type_helper_utils      2021-01-20      2.0.0-nullsafety.0
  pluto_menu_bar                           2021-01-16      1.0.0-nullsafety.0
  ews                                      2021-01-20      1.2.0-nullsafety.1
  exception_templates                      2021-01-18      0.2.0-nullsafety
  computer                                 2021-01-16      2.0.0-nullsafety.1
  stream_loader                            2021-01-18      1.1.0-nullsafety.0
  reference                                2021-01-16      0.2.0-beta
  audio_video_progress_bar                 2021-01-21      0.2.0-nullsafety.0
  lazy_memo                                2021-01-18      0.1.0-nullsafety
  hive_provider                            2021-01-18      0.3.1
  stateful_provider                        2021-01-18      0.3.2
  cure                                     2021-01-19      0.1.0-nullsafety.0
  tch_appliable_core                       2021-01-21      0.1.0-dev.3
  blowfish_ecb                             2021-01-17      0.1.0-nullsafety.1
  minimal_test                             2021-01-17      2.0.1-nullsafety
  mock_creator_generator                   2021-01-21      1.0.13
  adaptive                                 2021-01-19      0.0.1-nullsafety.0
  idl_internal                             2021-01-21      0.1.2-2.12.0-0
  draft_view                               2021-01-17      0.9.1-nullsafety.2
  list_operators                           2021-01-20      0.1.4-nullsafety
  dart_fuse                                2021-01-15      0.0.1-nullsafety.1
  rfc_6901                                 2021-01-20      0.0.0-nullsafety.2
  floating_bubbles                         2021-01-19      1.0.0-nullsafety.0
Clone this wiki locally