Skip to content

Null safety migration status

Filip Hracek edited this page Feb 4, 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:                   719

packages without null safety total:          15787
packages without null safety blocked:        4888
packages without null safety unblocked:      10899

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

Top blocking packages

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

  dio                                       236.3   Yes
  shared_aws_api                            216.5   Yes
  analyzer                                  199.2   No
  path_provider                             195.6   Yes
  shared_preferences                        184.0   No
  build                                      81.5   No
  source_gen                                 60.5   No
  pointycastle                               59.2   Yes
  package_info                               54.1   Yes
  permission_handler                         50.4   No
  web_socket_channel                         46.0   Yes
  dart_style                                 36.2   No
  google_maps_flutter                        36.0   No
  _fe_analyzer_shared                        35.3   Yes
  hex                                        34.9   Yes
  image_picker                               33.8   No
  flutter_webview_plugin                     32.5   Yes
  redux                                      30.8   Yes
  cached_network_image                       30.2   No
  angel_framework                            27.8   No
  flutter_cache_manager                      24.8   No
  io                                         24.6   Yes
  angular                                    22.8   No
  code_builder                               22.4   Yes
  http_server                                21.9   Yes
  build_config                               21.5   No
  encrypt                                    20.7   No
  quiver_hashcode                            17.1   Yes
  build_runner                               17.0   No
  foundation_fluttify                        16.8   Yes
  uri                                        16.7   Yes
  json_serializable                          16.6   No
  universal_html                             15.8   Yes
  flutter_secure_storage                     15.7   Yes
  dart2_constant                             15.4   Yes
  get                                        15.0   Yes
  mango_ui                                   14.5   Yes
  event_bus                                  14.3   Yes
  flare_flutter                              14.0   No
  auto_size_text                             13.9   Yes
  stagexl                                    13.8   Yes
  flutter_spinkit                            13.0   Yes
  firebase_storage                           12.3   No
  mustache                                   12.3   Yes
  enum_to_string                             12.2   Yes
  charts_flutter                             11.9   No
  flame                                      11.9   Yes
  syncfusion_flutter_core                    11.8   Yes
  colorize                                   11.8   Yes
  firebase                                   11.5   Yes

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (99):
  http                                     2021-01-29      0.13.0-nullsafety.0
  path_provider_linux                      2021-02-04      0.2.0-nullsafety
  xdg_directories                          2021-02-03      0.2.0-nullsafety.1
  path_provider_macos                      2021-02-03      0.0.5-nullsafety
  shared_preferences_platform_interface    2021-02-02      2.0.0-nullsafety
  shared_preferences_macos                 2021-02-04      0.0.2-nullsafety
  cloud_firestore                          2021-02-03      0.17.0-1.0.nullsafety.0
  cloud_firestore_platform_interface       2021-02-03      4.0.0-1.0.nullsafety.0
  cloud_firestore_web                      2021-02-03      0.4.0-1.0.nullsafety.0
  firebase_messaging                       2021-02-03      9.0.0-1.0.nullsafety.0
  firebase_messaging_platform_interface    2021-02-03      2.0.0-1.0.nullsafety.0
  firebase_messaging_web                   2021-02-03      0.2.0-1.0.nullsafety.0
  html                                     2021-02-01      0.15.0-nullsafety.0
  carousel_slider                          2021-01-30      4.0.0-nullsafety.0
  hive                                     2021-01-31      1.6.0-nullsafety.2
  shelf                                    2021-01-29      1.0.0-nullsafety.0
  transparent_image                        2021-01-29      2.0.0-nullsafety.0
  cross_file                               2021-01-29      0.3.0-nullsafety
  google_maps_webservice                   2021-01-30      0.0.20-nullsafety.0
  flutter_markdown                         2021-02-03      0.6.0-nullsafety.0
  pdf                                      2021-02-03      3.0.0-nullsafety.0
  googleapis_auth                          2021-01-29      1.0.0-nullsafety.0
  riverpod                                 2021-02-01      0.13.0-nullsafety.1
  flutter_riverpod                         2021-02-04      0.13.0-nullsafety.2
  csv                                      2021-02-01      5.0.0-nullsafety.0
  printing                                 2021-02-03      5.0.0-nullsafety.0
  just_audio                               2021-02-02      0.7.0-nullsafety.1
  just_audio_web                           2021-02-02      0.3.0-nullsafety.1
  just_audio_platform_interface            2021-02-02      3.0.0-nullsafety.1
  hooks_riverpod                           2021-02-04      0.13.0-nullsafety.2
  grpc                                     2021-02-01      3.0.0-nullsafety.0
  hydrated_bloc                            2021-01-31      7.0.0-nullsafety.0
  bazel_worker                             2021-02-04      1.0.0-nullsafety.0
  copy_with_extension                      2021-02-02      2.0.0-nullsafety.1
  hasura_connect                           2021-01-29      3.0.0-nullsafety.0
  otp                                      2021-02-01      3.0.0-nullsafety.0
  oauth1                                   2021-02-03      2.0.0-nullsafety.0
  subtitle_wrapper_package                 2021-02-03      2.0.0-nullsafety.0
  share_plus                               2021-02-04      2.0.0-nullsafety.0
  share_plus_linux                         2021-02-04      2.0.0-nullsafety.0
  share_plus_windows                       2021-02-04      0.2.0-nullsafety.0
  share_plus_platform_interface            2021-02-04      2.0.0-nullsafety.0
  share_plus_web                           2021-02-04      0.2.0-nullsafety.0
  blurhash_dart                            2021-01-31      1.0.0-nullsafety.0
  jdenticon_dart                           2021-01-29      2.0.0-nullsafety.0
  xrange                                   2021-01-31      2.0.0-nullsafety.0
  giphy_get                                2021-01-31      1.1.2+1
  flex_color_scheme                        2021-02-04      2.0.0-nullsafety.1
  replay_bloc                              2021-01-31      0.0.1-nullsafety.0
  copy_with_extension_gen                  2021-02-02      2.0.0-nullsafety.1
  dart_twitter_api                         2021-02-03      0.4.0-nullsafety.0
  dapackages                               2021-02-01      1.5.0-nullsafety.0
  superellipse_shape                       2021-02-01      0.2.0-nullsafety.0
  xml_rpc                                  2021-02-01      0.4.0-nullsafety.0
  dartros                                  2021-02-01      0.1.0-nullsafety.1
  snapshot                                 2021-01-29      0.2.0-nullsafety.0
  actionlib_msgs                           2021-02-01      0.1.0-nullsafety.0
  rosgraph_msgs                            2021-02-01      0.1.0-nullsafety.0
  std_msgs                                 2021-02-01      0.1.0-nullsafety.0
  dart_websocket                           2021-01-29      1.0.0
  msix                                     2021-02-03      0.2.0-nullsafety.0
  geometry_msgs                            2021-02-01      0.1.0-nullsafety.0
  dev_test                                 2021-02-01      0.15.0-nullsafety.0
  expandable_sliver_list                   2021-02-01      4.0.0-nullsafety.0
  otp_consent                              2021-02-04      2.0.0-nullsafety.1
  flutter_fader                            2021-02-01      2.0.0-nullsafety.1
  sensor_msgs                              2021-02-01      0.1.0-nullsafety.0
  vicodin                                  2021-02-02      1.0.5-nullsafety.0
  android_alarm_manager_plus               2021-02-03      0.7.0-nullsafety.0
  battery_plus_platform_interface          2021-02-04      0.3.0-nullsafety.0
  android_intent_plus                      2021-02-02      0.5.0-nullsafety.1
  battery_plus_macos                       2021-02-04      0.2.0-nullsafety.0
  es_compression                           2021-02-02      2.0.0-nullsafety.0
  bdd_widget_test                          2021-01-31      1.0.0-nullsafety.0
  pedantic_sensuikan1973                   2021-01-29      2.0.0
  csv_localizations                        2021-02-02      0.9.0-nullsafety.0
  client_information                       2021-02-04      2.0.0-nullsafety.0
  unleash                                  2021-01-31      0.2.0-nullsafety.0
  firebase_auth_rest                       2021-02-04      2.0.0-nullsafety.0
  webview_flutter_x5                       2021-02-03      2.0.0-nullsafety.4
  socketlabs                               2021-01-29      0.1.0-nullsafety.1
  pixel_border                             2021-01-31      2.0.0-nullsafety.0
  isolate_json                             2021-01-31      2.0.0-nullsafety.1
  hive_crdt                                2021-02-01      1.0.1-nullsafety.1
  dart_pad_widget                          2021-01-29      2.0.0-nullsafety.0
  value_t2_annotation                      2021-01-29      1.0.7-nullsafety.2
  xcodeproj                                2021-01-29      0.2.0-nullsafety.0
  yaml_localizations                       2021-01-29      0.4.0-nullsafety.0
  length_unit                              2021-02-02      0.0.1
  esp_rainmaker                            2021-02-01      1.0.0-nullsafety.1
  flutter_class_parser                     2021-02-02      0.0.2
  browser_routes                           2021-01-30      1.0.0-nullsafety.1
  transition_x                             2021-02-01      2.0.0-nullsafety.0
  async_value                              2021-02-01      0.0.1
  responsive_screen_utils                  2021-02-03      0.0.2
  automatic_spring_animation               2021-01-31      0.0.1-dev.2
  morphable_shape                          2021-02-04      0.0.3
  lyrics_parser                            2021-02-03      1.0.0-nullsafety.0
  dartros_msgutils                         2021-02-01      0.1.0-nullsafety.1
Clone this wiki locally