Skip to content

Null safety migration status

Michael Thomsen edited this page Dec 10, 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.

Summary:

Package counts (each package counts only once)

packages with null safety:                   274

packages without null safety total:          15096
packages without null safety blocked:        5961
packages without null safety unblocked:      9135

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

Top blocking packages

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

  http                                      761.7   Yes
  crypto                                    322.3   Yes
  dio                                       187.6   Yes
  args                                      184.0   Yes
  analyzer                                  164.1   No
  shared_preferences                        144.3   No
  shared_aws_api                            108.3   No
  path_provider                             105.1   No
  uuid                                       96.3   No
  build                                      74.8   No
  source_gen                                 57.7   No
  path_provider_platform_interface           49.1   Yes
  tuple                                      46.4   Yes
  flutter_plugin_android_lifecycle           45.3   Yes
  pointycastle                               44.3   Yes
  html                                       43.8   No
  permission_handler                         39.3   No
  archive                                    38.8   No
  webview_flutter                            37.6   Yes
  flutter_bloc                               34.2   Yes
  package_info                               32.9   Yes
  _fe_analyzer_shared                        30.2   Yes
  dart_style                                 28.7   No
  logger                                     28.6   Yes
  redux                                      28.6   Yes
  image                                      28.4   No
  cloud_firestore                            27.2   No
  firebase_core                              27.2   No
  freezed_annotation                         26.2   Yes
  hex                                        25.6   Yes
  web_socket_channel                         24.3   No
  csslib                                     24.1   Yes
  angel_framework                            22.5   No
  angular                                    22.2   No
  shelf                                      22.0   Yes
  cached_network_image                       21.5   No
  firebase_auth                              20.3   No
  font_awesome_flutter                       19.1   Yes
  build_config                               19.0   No
  flutter_webview_plugin                     18.8   Yes
  code_builder                               18.7   Yes
  http_server                                18.3   Yes
  image_picker                               18.1   No
  flutter_cache_manager                      18.1   No
  sprintf                                    18.0   Yes
  hive                                       17.5   No
  grpc                                       17.4   No
  surf_lint_rules                            17.3   Yes
  fluttertoast                               16.8   Yes
  foundation_fluttify                        16.8   Yes

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (30):
  adbonnin_flutter_carousel                2020-12-08      1.1.0
  async_list_view                          2020-12-09      0.0.1-dev.7
  builders                                 2020-12-04      1.0.0-nullsafety.2
  chest                                    2020-12-06      0.0.1-0
  cli_repl                                 2020-12-08      0.2.1-nullsafety
  contact_picker_platform_interface        2020-12-09      4.3.0-nullsafety.2
  contact_picker_web                       2020-12-09      4.3.0-nullsafety.4
  double_back_to_close_app                 2020-12-07      1.3.0-nullsafety.1
  fimber                                   2020-12-06      0.5.0-nullsafety.1
  fimber_io                                2020-12-06      0.5.0-nullsafety.1
  flutter_native_channel                   2020-12-10      0.0.2
  flutter_svg                              2020-12-09      0.20.0-nullsafety.2
  format                                   2020-12-10      1.0.1-nullsafety.0
  hidden_drawer                            2020-12-10      0.0.1
  hue_rotation                             2020-12-10      0.0.1-nullsafety.2
  material_segmented_control               2020-12-07      3.0.0-nullsafety.1
  mdi                                      2020-12-10      5.0.0-nullsafety.0
  mime                                     2020-12-08      1.0.0-nullsafety.0
  monad                                    2020-12-05      0.6.0-nullsafety.1
  money2                                   2020-12-10      2.0.1-nullsafety.1
  multi_screen_layout                      2020-12-04      2.0.0-nullsafety.0
  pdf_render_platform_interface            2020-12-09      1.0.2-dev
  platform_date_picker                     2020-12-06      0.1.0-nullsafety.0
  provider                                 2020-12-10      5.0.0-nullsafety.1
  recase                                   2020-12-05      4.0.0-nullsafety.0
  scoped_model                             2020-12-09      2.0.0-nullsafety.0
  stop_watch_timer                         2020-12-06      0.7.0-nullsafety.0
  taskflow                                 2020-12-07      0.0.2
  time_text                                2020-12-07      0.1.0-nullsafety.0
  webcrypto                                2020-12-08      0.5.0-null-safety.0
Clone this wiki locally