Skip to content

Null safety migration status

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

packages without null safety total:          15734
packages without null safety blocked:        5670
packages without null safety unblocked:      10064

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

Top blocking packages

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

  http                                      914.8   Yes
  dio                                       225.8   Yes
  shared_aws_api                            216.5   No
  analyzer                                  189.6   No
  path_provider                             175.4   No
  shared_preferences                        163.4   No
  build                                      80.3   No
  html                                       65.4   Yes
  source_gen                                 59.5   No
  pointycastle                               54.1   Yes
  permission_handler                         49.2   No
  cloud_firestore                            44.5   No
  package_info                               42.7   Yes
  web_socket_channel                         37.6   Yes
  dart_style                                 34.4   No
  _fe_analyzer_shared                        34.3   Yes
  image_picker                               32.8   No
  hex                                        32.4   Yes
  google_maps_flutter                        30.5   No
  redux                                      30.1   Yes
  cached_network_image                       25.7   No
  angel_framework                            25.3   No
  hive                                       24.9   Yes
  shelf                                      24.9   Yes
  angular                                    22.8   No
  flutter_cache_manager                      22.2   No
  flutter_webview_plugin                     22.1   Yes
  code_builder                               22.0   Yes
  http_server                                20.9   Yes
  io                                         20.7   Yes
  build_config                               20.6   No
  grpc                                       19.2   No
  encrypt                                    18.2   No
  quiver_hashcode                            17.1   Yes
  foundation_fluttify                        16.8   Yes
  build_runner                               16.1   No
  universal_html                             14.5   No
  mango_ui                                   14.5   Yes
  get                                        14.4   Yes
  uri                                        14.4   Yes
  event_bus                                  14.1   Yes
  dart2_constant                             13.9   Yes
  stagexl                                    13.8   Yes
  flare_flutter                              13.2   No
  auto_size_text                             13.2   Yes
  json_serializable                          13.0   No
  flutter_spinkit                            12.6   Yes
  flame                                      11.8   Yes
  flutter_secure_storage                     11.6   Yes
  charts_flutter                             11.6   No

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (54):
  uuid                                     2021-01-21      3.0.0-nullsafety.0
  image                                    2021-01-25      3.0.0-nullsafety.0
  csslib                                   2021-01-25      0.17.0-nullsafety.0
  firebase_crashlytics                     2021-01-28      0.5.0-1.0.nullsafety.1
  firebase_crashlytics_platform_interface  2021-01-28      2.0.0-1.0.nullsafety.1
  shimmer                                  2021-01-25      2.0.0-nullsafety.0
  freezed_annotation                       2021-01-23      0.13.0-nullsafety.0
  timeago                                  2021-01-23      3.0.0-nullsafety.0
  lottie                                   2021-01-23      0.8.0-nullsafety.0
  animations                               2021-01-27      2.0.0-nullsafety.0
  visibility_detector                      2021-01-26      0.2.0-nullsafety.1
  pin_input_text_field                     2021-01-23      4.0.0-nullsafety.0
  flutter_hooks                            2021-01-27      0.16.0-nullsafety.0
  sync_http                                2021-01-22      0.3.0-nullsafety.0
  webdriver                                2021-01-27      3.0.0-nullsafety.1
  http2                                    2021-01-25      2.0.0-nullsafety.0
  credit_card_validator                    2021-01-26      2.0.0-nullsafety.0
  freezed                                  2021-01-27      0.13.0-nullsafety.2
  extension                                2021-01-26      0.2.0-nullsafety.0
  flutter_portal                           2021-01-28      0.4.0-nullsafety.0
  simple_html_css                          2021-01-27      3.0.0-nullsafety.0
  spreadsheet_decoder                      2021-01-27      2.0.0-nullsafety.0
  surf_lint_rules                          2021-01-27      0.0.2-dev.3
  swipe_to                                 2021-01-26      0.1.0-nullsafety.1
  flow_builder                             2021-01-26      0.0.1-nullsafety.0
  t_stats                                  2021-01-21      3.0.0-nullsafety.0
  data_channel                             2021-01-22      2.0.0-nullsafety.1
  rules                                    2021-01-22      2.0.0-nullsafety.0
  json_serializable_mobx                   2021-01-25      0.5.0-nullsafety.0
  json_serializable_immutable_collections  2021-01-25      0.6.0-nullsafety.0
  update                                   2021-01-23      0.1.1-nullsafety.0
  flamingo_generator                       2021-01-24      0.9.0-nullsafety.0
  html_search                              2021-01-23      0.1.0-nullsafety.0
  dsbuntis                                 2021-01-23      2.0.0-nullsafety.0
  schttp                                   2021-01-23      1.0.0-nullsafety.0
  memory_plugin                            2021-01-25      0.0.5
  glpk                                     2021-01-26      0.1.0-nullsafety.5
  boolean                                  2021-01-26      2.0.0-nullsafety.0
  typedef_for_fn                           2021-01-26      1.0.1-nnbd
  winmd                                    2021-01-24      0.1.0-dev.1
  libedax4dart                             2021-01-27      0.2.1-dev.3
  copy_with_e_annotation                   2021-01-28      1.0.2-nullsafety2
  simple_url_handler                       2021-01-22      0.0.1-nullsafety.5
  geos                                     2021-01-27      0.1.0-nullsafety.3
  decorated_app_bar                        2021-01-27      1.25.0-8.3.pre
  keyboard_event                           2021-01-24      0.2.0-0
  state_connect                            2021-01-27      0.1.0-dev.1
  iconnect                                 2021-01-27      0.1.0-dev.1
  thumbnails_view                          2021-01-27      0.0.1-nullsafety.0
  treeify                                  2021-01-28      0.0.1-nullsafety.2
  cl_appbase                               2021-01-21      0.0.1-nullsafety
  boost                                    2021-01-24      0.0.2-nullsafety
  bip32_ed25519                            2021-01-28      0.1.0-nullsafety.2
  rfc_6902                                 2021-01-27      0.0.0-nullsafety.0
Clone this wiki locally