Skip to content

Null safety migration status

Filip Hracek edited this page Jan 8, 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:                   422

packages without null safety total:          14959
packages without null safety blocked:        5635
packages without null safety unblocked:      9324

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

Top blocking packages

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

  http                                      820.6   Yes
  shared_aws_api                            216.5   No
  dio                                       202.7   Yes
  analyzer                                  174.9   No
  shared_preferences                        153.7   No
  uuid                                      127.4   Yes
  path_provider                             110.1   No
  build                                      77.0   No
  source_gen                                 57.6   No
  archive                                    51.4   Yes
  pointycastle                               50.1   Yes
  path_provider_platform_interface           49.0   Yes
  html                                       47.4   No
  permission_handler                         42.1   No
  webview_flutter                            38.5   Yes
  package_info                               34.3   Yes
  web_socket_channel                         33.1   Yes
  _fe_analyzer_shared                        33.0   Yes
  dart_style                                 31.8   No
  image                                      30.8   No
  cloud_firestore                            30.7   No
  hex                                        30.5   Yes
  freezed_annotation                         29.6   Yes
  redux                                      29.2   Yes
  image_picker                               28.0   No
  firebase_core                              27.9   No
  google_maps_flutter                        27.2   No
  csslib                                     25.0   Yes
  angel_framework                            24.1   No
  shelf                                      23.5   Yes
  angular                                    22.6   No
  cached_network_image                       22.2   No
  firebase_auth                              21.7   No
  hive                                       21.2   Yes
  code_builder                               20.9   Yes
  io                                         20.5   Yes
  http_server                                20.5   Yes
  build_config                               19.5   No
  flutter_webview_plugin                     19.4   Yes
  flutter_cache_manager                      18.6   No
  surf_lint_rules                            18.5   Yes
  grpc                                       18.5   No
  foundation_fluttify                        16.8   Yes
  firebase_core_platform_interface           16.7   Yes
  quiver_hashcode                            16.5   Yes
  encrypt                                    15.9   No
  stream_transform                           15.6   Yes
  build_runner                               15.3   No
  mango_ui                                   14.5   Yes
  flutter_hooks                              13.9   Yes

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (31):
  modal_bottom_sheet                       2021-01-02      2.0.0-nullsafety.1
  markdown                                 2021-01-06      4.0.0-nullsafety.0
  dartz                                    2021-01-07      0.10.0-nullsafety.0
  zone_local                               2021-01-02      0.2.0-nullsafety.1
  xml2json                                 2021-01-07      5.0.0-nullsafety.0
  quick_log                                2021-01-07      4.0.0-nullsafety.1
  chunked_stream                           2021-01-06      1.3.0-nullsafety.0
  cupertino_stepper                        2021-01-01      0.2.0-nullsafety.0
  flutter_spinbox                          2021-01-01      0.4.0-nullsafety.0
  generic_bloc_provider                    2021-01-04      2.0.0-nullsafety.1
  edit_distance                            2021-01-07      0.5.0-nullsafety.0
  open_url                                 2021-01-05      2.0.0-nullsafety.0
  dcli                                     2021-01-04      0.50.0-nullsaftey.0
  child_builder                            2021-01-03      1.1.0-nullsafety
  side_header_list_view                    2021-01-07      1.0.0-nullsafety.0
  websafe_platform                         2021-01-03      1.2.0-nullsafety.0
  dart_serial_port                         2021-01-01      0.1.0-nullsafety.0
  odoo_rpc                                 2021-01-05      0.4.0-nullsafety0
  dash                                     2021-01-07      1.0.0-nullsafety.0
  ffigen                                   2021-01-05      2.0.0-nullsafety.0
  remove_emoji                             2021-01-01      0.0.5
  either_dart                              2021-01-05      0.1.0-nullsafety.1
  flutter_test_ui                          2021-01-04      2.0.0-nullsafety.0
  declarative_animated_list                2021-01-08      0.1.0-nullsafety.0
  isoweek                                  2021-01-04      1.1.0-nullsafety.0
  settings_yaml                            2021-01-04      3.0.0-nullsaftey.0
  apn_crashlytics                          2021-01-06      2.0.2-null-safety
  flutter_nsd                              2021-01-06      1.0.0-alpha03
  resp_client                              2021-01-03      1.0.0-nullsafety.0
  xml_serializable                         2021-01-04      2.0.0-nullsafety.0
  xml_annotation                           2021-01-04      2.0.0-nullsafety.0
Clone this wiki locally