Skip to content

Null safety migration status

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

packages without null safety total:          15867
packages without null safety blocked:        4401
packages without null safety unblocked:      11466

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

Top blocking packages

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

  dio                                       267.5   Yes
  shared_aws_api                            216.5   Yes
  build                                     115.7   Yes
  source_gen                                 84.2   No
  permission_handler                         59.4   No
  dart_style                                 49.5   Yes
  web_socket_channel                         48.3   Yes
  hex                                        42.9   Yes
  google_maps_flutter                        39.4   Yes
  flutter_webview_plugin                     36.4   Yes
  cached_network_image                       35.4   No
  flutter_cache_manager                      34.2   Yes
  redux                                      31.9   Yes
  angel_framework                            27.8   No
  encrypt                                    27.5   Yes
  build_config                               27.2   No
  io                                         27.2   Yes
  code_builder                               26.5   Yes
  angular                                    22.9   No
  http_server                                22.1   Yes
  flutter_secure_storage                     21.2   Yes
  json_serializable                          20.1   No
  build_runner                               18.5   No
  universal_html                             18.1   Yes
  get                                        17.7   Yes
  foundation_fluttify                        16.8   Yes
  quiver_hashcode                            16.6   Yes
  mango_ui                                   15.0   Yes
  event_bus                                  14.9   Yes
  flare_flutter                              14.7   No
  flutter_spinkit                            14.6   Yes
  firebase                                   14.5   Yes
  dart2_constant                             14.2   Yes
  syncfusion_flutter_core                    14.0   Yes
  stagexl                                    13.8   Yes
  mustache                                   13.7   Yes
  charts_flutter                             12.7   No
  enum_to_string                             12.6   Yes
  flame                                      12.6   Yes
  colorize                                   12.4   Yes
  resource                                   12.2   Yes
  pubspec_parse                              11.8   No
  flutter_inappwebview                       11.7   Yes
  flutter_map                                11.4   No
  ocg_app                                    11.1   No
  basic_utils                                11.0   Yes
  console                                    10.7   Yes
  flare_dart                                 10.6   Yes
  angel_container                            10.6   Yes
  chopper                                    10.5   Yes

New packages with null safety support last 7 days

packages published last 7 days where latest version is null-safe (109):
  google_fonts                             2021-02-12      2.0.0-nullsafety.0
  google_maps_flutter_platform_interface   2021-02-16      2.0.0-nullsafety.1
  firebase_storage                         2021-02-18      8.0.0-1.0.nullsafety.1
  firebase_storage_web                     2021-02-18      0.2.0-1.0.nullsafety.1
  firebase_storage_platform_interface      2021-02-18      2.0.0-1.0.nullsafety.1
  camera                                   2021-02-18      0.8.0-nullsafety.1
  camera_platform_interface                2021-02-11      2.0.0-nullsafety
  hive_flutter                             2021-02-18      1.0.0-nullsafety.0
  flutter_signin_button                    2021-02-16      2.0.0-nullsafety.0
  url_launcher_web                         2021-02-16      2.0.0-nullsafety
  background_fetch                         2021-02-18      1.0.0-nullsafety.1
  states_rebuilder                         2021-02-17      4.0.0-nullsafety.0+1
  bottom_navy_bar                          2021-02-17      6.0.0-nullsafety.0
  bloc_test                                2021-02-11      8.0.0-nullsafety.0
  moor_flutter                             2021-02-14      4.0.0-nullsafety
  back_button_interceptor                  2021-02-15      5.0.0-nullsafety.1
  image_picker_for_web                     2021-02-13      2.0.0-nullsafety
  matrix4_transform                        2021-02-13      2.0.0-nullsafety.1
  globbing                                 2021-02-17      1.0.0
  file_utils                               2021-02-17      1.0.0
  uri                                      2021-02-17      1.0.0
  android_alarm_manager                    2021-02-12      2.0.0-nullsafety
  crypto_keys                              2021-02-14      0.2.0-nullsafety.2
  jose                                     2021-02-16      0.3.0-nullsafety.2
  x509                                     2021-02-16      0.2.0-nullsafety.3
  http_extensions                          2021-02-17      1.0.0
  http_extensions_cache                    2021-02-17      1.0.0
  easy_logger                              2021-02-15      0.0.2-nullsafety
  network_to_file_image                    2021-02-13      3.0.0-nullsafety.1
  align_positioned                         2021-02-13      2.0.0-nullsafety.1
  wifi_info_flutter                        2021-02-12      2.0.0-nullsafety
  assorted_layout_widgets                  2021-02-13      4.0.0-nullsafety.1
  github                                   2021-02-17      7.1.0-nullsafe.0
  indexed_list_view                        2021-02-15      2.0.0-nullsafety.1
  dotenv                                   2021-02-14      3.0.0-nullsafety.0
  weak_map                                 2021-02-15      2.0.0-nullsafety.1
  animated_size_and_fade                   2021-02-13      2.0.0-nullsafety.1
  flutter_reactive_ble                     2021-02-13      3.0.0-nullsafety.0
  device_info_plus_web                     2021-02-17      1.0.0-nullsafety.0
  device_info_plus_platform_interface      2021-02-17      1.0.0-nullsafety.0
  bloc_provider                            2021-02-12      0.8.0
  device_info_plus                         2021-02-17      1.0.0-nullsafety.0
  device_info_plus_linux                   2021-02-17      1.0.0-nullsafety.0
  flutter_screen_lock                      2021-02-17      2.0.0-nullsafety
  flex_color_picker                        2021-02-15      2.0.0-nullsafety.0
  time_range                               2021-02-17      0.6.0
  route_observer_mixin                     2021-02-12      1.5.0+1
  date_range_form_field                    2021-02-16      1.0.0-nullsafety.2
  sticky_infinite_list                     2021-02-14      4.0.0-nullsafety.0
  vsync_provider                           2021-02-12      0.5.0
  image_pixels                             2021-02-13      2.0.0-nullsafety.1
  test_process                             2021-02-17      2.0.0
  dart_random_choice                       2021-02-15      0.1.0-nullsafety.0
  google_api_headers                       2021-02-18      0.2.0-nullsafety.0
  fhir_yaml                                2021-02-16      0.3.0-nullsafety.0
  device_info_plus_macos                   2021-02-17      1.0.0-nullsafety.0
  flutter_gravatar                         2021-02-16      2.0.2
  dartdap                                  2021-02-15      0.5.0
  flutter_command                          2021-02-16      1.0.0-nullsafety.1
  masamune                                 2021-02-18      0.8.0-nullsafety.10
  http_extensions_retry                    2021-02-17      1.0.0
  application_icon                         2021-02-14      2.0.0-nullsafety.0
  dargon2                                  2021-02-11      2.0.0
  http_extensions_base_url                 2021-02-17      1.0.0
  ktx                                      2021-02-18      1.1.5-nullsafety
  books_finder                             2021-02-15      3.0.0-nullsafety
  http_extensions_headers                  2021-02-17      1.0.0
  quiver_log                               2021-02-17      2.0.0-nullsafety.0
  sketcher                                 2021-02-18      1.1.6
  dateable                                 2021-02-18      3.0.0
  singleton                                2021-02-18      0.0.3-nullsafety
  floating_text                            2021-02-18      0.1.0-nullsafety.1
  device_info_plus_windows                 2021-02-17      1.0.0-nullsafety.0
  eva_color                                2021-02-17      1.2.0-null-safety
  posix                                    2021-02-17      2.0.0-nullsafety.1
  stacktrace_impl                          2021-02-17      2.0.0
  tree_iterator                            2021-02-17      2.0.0
  object_map                               2021-02-17      1.0.0-nullsafety+0
  flutter_object_map                       2021-02-17      1.0.0-nullsafety+0
  completer_ex                             2021-02-17      2.0.0
  qrool                                    2021-02-15      0.0.1-259.9.beta
  extensions_pack                          2021-02-17      0.0.8
  localization_table                       2021-02-16      1.0.0-nullsafty.0
  color_theme                              2021-02-13      1.0.0-nullsafety
  rx_simplify                              2021-02-15      0.0.2-dev.1
  rx_simplify_flutter                      2021-02-16      0.0.3-dev.1
  vrouter                                  2021-02-16      1.0.0-nullsafety.3
  http_extensions_protobuf                 2021-02-17      1.0.0
  kindness                                 2021-02-16      2.0.0
  gesture_callbacks                        2021-02-14      1.0.0-nullsafety
  flutter_tapers                           2021-02-13      0.1.0-0
  jwt_io                                   2021-02-14      1.1.6
  flutter_fancy_tree_view                  2021-02-12      0.1.0-nullsafety.0
  drawable                                 2021-02-16      0.1.0
  ui_color                                 2021-02-14      1.20210214.0
  bottom_popup_menu_button                 2021-02-13      0.0.1
  simulated_annealing                      2021-02-15      0.1.3-nullsafety
  result_class                             2021-02-17      1.0.0-nullsafety.1
  pubglobalupdate                          2021-02-17      0.5.0
  route_tree                               2021-02-17      1.0.0-nullsafety
  native_button_view                       2021-02-15      0.0.1
  modal_progress_hud_nsn                   2021-02-18      0.1.0-nullsafety-1
  dartz_serializable                       2021-02-18      0.2.0-nullable.1
  twitter_intent                           2021-02-13      1.0.0-nullsafety.1
  percent_indicator_nullsafe               2021-02-18      3.0.0-nullsafety.9001
  chest_flutter                            2021-02-13      0.1.0-0
  web_toast                                2021-02-18      1.0.2-nullsafety
  win32_suspend_process                    2021-02-17      0.1.2
  qr_scanner                               2021-02-18      0.0.2-259.9.beta
Clone this wiki locally