diff --git a/lib/snapshot/BUILD.gn b/lib/snapshot/BUILD.gn index 99a431769ea31..8f9dd526fb669 100644 --- a/lib/snapshot/BUILD.gn +++ b/lib/snapshot/BUILD.gn @@ -238,7 +238,7 @@ compile_platform("strong_platform") { flutter_runtime_mode == "release" || flutter_runtime_mode == "jit_release" args = [ "--enable-experiment=generic-metadata", - "--nnbd-agnostic", + "--nnbd-strong", "--target=flutter", "-Ddart.vm.product=$is_runtime_mode_release", "-Ddart.isVM=true", diff --git a/shell/platform/fuchsia/dart_runner/kernel/BUILD.gn b/shell/platform/fuchsia/dart_runner/kernel/BUILD.gn index f0319dee65f51..7e066a38b853e 100644 --- a/shell/platform/fuchsia/dart_runner/kernel/BUILD.gn +++ b/shell/platform/fuchsia/dart_runner/kernel/BUILD.gn @@ -20,7 +20,7 @@ compile_platform("kernel_platform_files") { ] args = [ - "--nnbd-agnostic", + "--nnbd-strong", "--target=dart_runner", "dart:core", ] diff --git a/shell/platform/fuchsia/flutter/kernel/BUILD.gn b/shell/platform/fuchsia/flutter/kernel/BUILD.gn index 0e4cdb25f8f85..76cba08883e9c 100644 --- a/shell/platform/fuchsia/flutter/kernel/BUILD.gn +++ b/shell/platform/fuchsia/flutter/kernel/BUILD.gn @@ -20,7 +20,7 @@ compile_platform("kernel_platform_files") { ] args = [ - "--nnbd-agnostic", + "--nnbd-strong", "--target=flutter_runner", "dart:core", ]