Skip to content

Null safety migration status

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

packages without null safety total:          15843
packages without null safety blocked:        4460
packages without null safety unblocked:      11383

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

Top blocking packages

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

  dio                                       261.9   Yes
  shared_aws_api                            216.5   Yes
  build                                     114.4   Yes
  source_gen                                 83.8   No
  permission_handler                         57.9   No
  dart_style                                 49.0   Yes
  web_socket_channel                         48.6   Yes
  hex                                        43.4   Yes
  google_maps_flutter                        38.4   No
  flutter_webview_plugin                     35.3   Yes
  cached_network_image                       34.0   No
  flutter_cache_manager                      33.2   Yes
  redux                                      31.9   Yes
  angel_framework                            27.8   No
  encrypt                                    27.5   Yes
  build_config                               26.5   No
  io                                         26.3   Yes
  code_builder                               26.2   Yes
  angular                                    22.9   No
  http_server                                22.1   Yes
  flutter_secure_storage                     20.9   Yes
  json_serializable                          20.1   No
  quiver_hashcode                            18.6   Yes
  build_runner                               18.4   No
  get                                        17.7   Yes
  universal_html                             16.9   Yes
  foundation_fluttify                        16.8   Yes
  uri                                        16.8   Yes
  firebase_storage                           16.4   No
  dart2_constant                             15.4   Yes
  mango_ui                                   15.0   Yes
  event_bus                                  14.8   Yes
  flare_flutter                              14.5   No
  flutter_spinkit                            14.0   Yes
  stagexl                                    13.8   Yes
  mustache                                   13.6   Yes
  firebase                                   13.3   Yes
  enum_to_string                             12.6   Yes
  flame                                      12.6   Yes
  resource                                   12.2   Yes
  charts_flutter                             12.1   No
  syncfusion_flutter_core                    12.0   Yes
  colorize                                   11.9   Yes
  pubspec_parse                              11.8   No
  flutter_inappwebview                       11.6   Yes
  flutter_map                                11.5   No
  hive_flutter                               11.4   Yes
  google_fonts                               11.1   Yes
  ocg_app                                    11.0   No
  console                                    10.7   Yes

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (93):
  path_provider                            2021-02-05      2.0.0-nullsafety
  shared_preferences                       2021-02-09      2.0.0-nullsafety
  shared_preferences_linux                 2021-02-08      0.0.4-nullsafety
  shared_preferences_web                   2021-02-08      0.2.0-nullsafety
  shared_preferences_windows               2021-02-08      0.0.3-nullsafety
  image_picker                             2021-02-08      0.7.0-nullsafety
  image_picker_platform_interface          2021-02-04      2.0.0-nullsafety
  package_info                             2021-02-05      0.5.0-nullsafety
  analyzer                                 2021-02-10      1.0.0
  _fe_analyzer_shared                      2021-02-10      16.0.0
  flutter_local_notifications_platform_interface 2021-02-06      3.0.0-nullsafety.0
  auto_size_text                           2021-02-07      3.0.0-nullsafety.0
  pointycastle                             2021-02-05      3.0.0-nullsafety.2
  flutter_typeahead                        2021-02-10      3.0.0-nullsafety.0
  email_validator                          2021-02-10      2.0.0-nullsafety
  screenshot                               2021-02-10      1.0.0-nullsafety.1
  sensors                                  2021-02-09      0.5.0-nullsafety
  infinite_scroll_pagination               2021-02-06      3.0.0-nullsafety.0
  app_review                               2021-02-09      2.1.0-nullsafety.0
  adaptive_dialog                          2021-02-08      0.10.0+4
  easy_web_view                            2021-02-09      1.4.0-nullsafety
  quick_actions                            2021-02-09      0.5.0-nullsafety
  focus_detector                           2021-02-06      2.0.0-nullsafety.0
  wifi_info_flutter_platform_interface     2021-02-09      2.0.0-nullsafety
  auto_size_text_field                     2021-02-09      1.0.0-nullsafety.1
  file_testing                             2021-02-09      3.0.0
  dart_date                                2021-02-09      1.1.0-nullsafety.0
  simple_logger                            2021-02-09      1.8.0+1
  protoc_plugin                            2021-02-11      20.0.0
  giphy_picker                             2021-02-09      2.0.0-nullsafety.0
  geolocator_web                           2021-02-10      2.0.0-nullsafety.0
  expandable_text                          2021-02-07      2.0.0-nullsafety.0
  data_tables                              2021-02-09      1.1.1-nullsafety.0
  disposable_provider                      2021-02-09      2.3.0
  file_selector_platform_interface         2021-02-08      2.0.0-nullsafety.0
  built_redux                              2021-02-08      8.0.0-nullsafety.0
  ml_linalg                                2021-02-04      13.0.0-nullsafety.0
  pedantic_mono                            2021-02-08      1.11.0+2
  ios_platform_images                      2021-02-08      0.2.0-nullsafety
  file_selector_windows                    2021-02-06      0.0.2
  file_selector_macos                      2021-02-06      0.0.3
  geocode                                  2021-02-08      1.0.0-nullsafety.0
  gviz                                     2021-02-09      0.4.0
  flutter_sodium                           2021-02-05      0.2.0-nullsafety.1
  subscription_holder                      2021-02-10      2.1.0
  file_selector_linux                      2021-02-06      0.0.2
  breakpoint                               2021-02-09      1.1.0-nullsafety.0
  fast_rsa                                 2021-02-07      1.4.0-nullsafety.2
  openpgp                                  2021-02-07      1.2.0-nullsafety.3
  nyxx                                     2021-02-11      1.1.0-dev.2
  ml_dataframe                             2021-02-08      0.5.0-nullsafety.0
  ml_preprocessing                         2021-02-09      6.0.0-nullsafety.0
  cqrs                                     2021-02-08      5.0.0-nullsafety.0
  cupertino_controllers                    2021-02-09      1.0.2-nullsafety.1
  isar_flutter                             2021-02-07      0.0.4
  share_plus_macos                         2021-02-06      0.1.0-nullsafety.0
  dynamic_tabs                             2021-02-10      1.1.1-nullsafety.2
  nyxx_commander                           2021-02-09      1.1.0-dev.1
  flutter_acrcloud                         2021-02-10      0.1.0
  iso_calendar                             2021-02-07      1.0.0-nullsafety.0
  katana                                   2021-02-11      0.8.0-nullsafety.9
  google_language_fonts                    2021-02-09      2.0.0-nullsafety.0
  model_notifier                           2021-02-11      0.8.0-nullsafety.9
  katana_firebase                          2021-02-11      0.8.0-nullsafety.7
  deleteable_tile                          2021-02-07      0.0.1-nullsafety.1
  yaml2podo                                2021-02-05      0.1.30
  flutter_statusbarcolor_ns                2021-02-07      0.3.0-nullsafety
  memoizer_annotation                      2021-02-08      1.0.0-nullsafety4
  katana_routing                           2021-02-11      0.8.0-nullsafety.5
  expansion_widget                         2021-02-08      0.0.1-nullsafety.0
  desktop                                  2021-02-04      0.1.1-2.12.0-0
  ghost                                    2021-02-05      2.0.0-nullsafety.0
  nyxx_extensions                          2021-02-09      1.1.0-dev.1
  features                                 2021-02-10      1.1.0-nullsafety
  super_string                             2021-02-06      1.0.0-nullsafety.1
  loggable                                 2021-02-10      1.1.0
  flutter_web_gl                           2021-02-11      0.0.1-nullsafety.0
  dart_firebase                            2021-02-09      1.0.0-nullsafety.1
  responsive_styled_widget                 2021-02-08      0.0.1
  opengl_es_bindings                       2021-02-11      1.0.0-pre
  wma_connectivity                         2021-02-11      0.0.1-nullsafety.1
  page_flip_builder                        2021-02-10      0.1.0-nullsafety.2
  camera_hijack_nullsafe                   2021-02-11      0.0.1-hns.6
  adi_helpers                              2021-02-09      1.0.7-nullsafety2
  nyxx_interactions                        2021-02-11      1.1.0-dev.1
  firebase_model_notifier                  2021-02-11      0.8.0-nullsafety.4
  slivers                                  2021-02-10      0.0.1+1
  calc                                     2021-02-11      0.2.1
  teledart_app                             2021-02-10      0.0.1-dev.1
  uhst                                     2021-02-07      0.0.1-nullsafety.0
  fetch                                    2021-02-10      0.0.3
  mocktail_image_network                   2021-02-08      0.0.1-dev.1
  dartx_nullsafety                         2021-02-09      0.6.0-nullsaftety.0
Clone this wiki locally