Skip to content

Null safety migration status

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

packages without null safety total:          15573
packages without null safety blocked:        5815
packages without null safety unblocked:      9758

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

Top blocking packages

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

  http                                      864.0   Yes
  dio                                       216.8   Yes
  shared_aws_api                            216.5   No
  analyzer                                  181.5   No
  shared_preferences                        160.5   No
  path_provider                             159.3   No
  uuid                                      135.4   Yes
  build                                      79.4   No
  source_gen                                 59.1   No
  pointycastle                               53.7   Yes
  archive                                    53.5   Yes
  html                                       48.7   No
  permission_handler                         45.7   No
  package_info                               39.8   Yes
  cloud_firestore                            35.6   No
  web_socket_channel                         35.0   Yes
  _fe_analyzer_shared                        34.4   Yes
  dart_style                                 33.8   No
  image                                      32.4   No
  hex                                        31.4   Yes
  image_picker                               31.3   No
  freezed_annotation                         30.9   Yes
  firebase_core                              29.5   No
  redux                                      29.4   Yes
  google_maps_flutter                        28.8   No
  firebase_auth                              26.0   No
  csslib                                     25.9   Yes
  angel_framework                            24.1   No
  shelf                                      24.0   Yes
  cached_network_image                       23.7   No
  angular                                    22.8   No
  hive                                       22.5   Yes
  flutter_webview_plugin                     21.9   Yes
  code_builder                               21.8   Yes
  http_server                                20.7   Yes
  flutter_cache_manager                      20.5   No
  io                                         20.4   Yes
  build_config                               20.4   No
  surf_lint_rules                            18.5   Yes
  grpc                                       18.5   No
  firebase_core_platform_interface           17.7   Yes
  foundation_fluttify                        16.8   Yes
  quiver_hashcode                            16.7   Yes
  encrypt                                    16.3   No
  build_runner                               15.4   No
  flutter_hooks                              15.2   Yes
  mango_ui                                   14.5   Yes
  universal_html                             14.3   No
  get                                        14.2   Yes
  uri                                        13.5   No

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (58):
  path_provider_platform_interface         2021-01-12      2.0.0-nullsafety
  octo_image                               2021-01-14      1.0.0-nullsafety.0
  flutter_blurhash                         2021-01-14      0.5.2-nullsafety.0
  webview_flutter                          2021-01-13      2.0.0-nullsafety.3
  stream_transform                         2021-01-13      2.0.0-nullsafety.0
  google_sign_in                           2021-01-09      5.0.0-nullsafety
  google_sign_in_platform_interface        2021-01-09      2.0.0-nullsafety
  watcher                                  2021-01-13      1.0.0-nullsafety.0
  share                                    2021-01-13      2.0.0-nullsafety.2
  timezone                                 2021-01-12      0.7.0-nullsafety.0
  vm_service                               2021-01-11      6.0.0-nullsafety-dev
  local_auth                               2021-01-13      1.0.0-nullsafety.3
  android_intent                           2021-01-08      2.0.0-nullsafety.2
  flutter_layout_grid                      2021-01-12      0.11.0-nullsafety.1
  universal_io                             2021-01-11      2.0.0-nullsafety.2
  moor                                     2021-01-11      4.0.0-nullsafety.1
  flutter_tags                             2021-01-14      1.0.0-nullsafety.0
  page_view_indicators                     2021-01-12      2.0.0-nullsafety.0
  battery                                  2021-01-13      2.0.0-nullsafety
  clippy_flutter                           2021-01-11      2.0.0-nullsafety.1
  battery_platform_interface               2021-01-08      2.0.0-nullsafety
  flutter_login_facebook                   2021-01-11      1.0.0-nullsafety.0
  date_time_format                         2021-01-13      2.0.0-nullsafety
  brasil_fields                            2021-01-10      1.0.0-nullsafety.0
  mailto                                   2021-01-11      2.0.0-nullsafety.0
  flutter_document_picker                  2021-01-09      5.0.0-nullsafety.0
  process_run                              2021-01-10      0.12.0-nullsafety.0
  sqlparser                                2021-01-11      0.12.0-nullsafety.0
  latinize                                 2021-01-08      0.1.0-nullsafety.0
  dashbook                                 2021-01-11      0.1.0-nullsafety.0
  weekday_selector                         2021-01-11      1.0.0-nullsafety.0
  fuzzy                                    2021-01-08      0.4.0-nullsafety.0
  whatsapp_unilink                         2021-01-11      2.0.0-nullsafety.0
  feedback                                 2021-01-12      1.0.0-nullsafety
  sembast_sqflite                          2021-01-10      2.0.0-nullsafety.0
  distinct_value_connectable_stream        2021-01-08      1.2.0-nullsafety.2
  diagonal                                 2021-01-11      2.0.0-nullsafety.1
  pip_view                                 2021-01-12      0.9.6-nullsafety
  dash                                     2021-01-07      1.0.0-nullsafety.0
  splash                                   2021-01-12      1.0.0-nullsafety
  moor_inspector                           2021-01-14      0.2.0-nullsafety.0
  image_painter                            2021-01-12      1.0.0-nullsafety.0
  os_detect                                2021-01-11      2.0.0-nullsafety.0
  declarative_animated_list                2021-01-08      0.1.0-nullsafety.0
  xcontext                                 2021-01-11      1.0.0-nullsafety.0
  dylib                                    2021-01-11      0.2.1-nullsafety.0
  dartemis                                 2021-01-14      0.9.0-nullsafety.0
  raw_sound                                2021-01-14      0.2.0-nullsafety.0
  async_button_builder                     2021-01-13      1.0.0-nullsafety.0
  dart_pre_commit                          2021-01-14      2.0.0-nullsafety.0
  dash_generator                           2021-01-08      1.0.0-nullsafety.0
  isar                                     2021-01-10      0.0.2
  listenable_stream                        2021-01-14      0.1.0-nullsafety.0
  window_paint                             2021-01-13      0.1.0-nullsafety.2
  strict                                   2021-01-08      1.0.0-0
  helpers_plethora                         2021-01-13      0.2.0-nullsafety.1
  flutter_carrotquest                      2021-01-14      0.0.1-dev.1
  url_strategy                             2021-01-14      0.2.0-nullsafety.0
Clone this wiki locally