diff --git a/engine/src/flutter/lib/snapshot/BUILD.gn b/engine/src/flutter/lib/snapshot/BUILD.gn index 4e5e4272a1..b4773b6547 100644 --- a/engine/src/flutter/lib/snapshot/BUILD.gn +++ b/engine/src/flutter/lib/snapshot/BUILD.gn @@ -250,7 +250,7 @@ compile_platform("strong_platform") { allow_causal_async_stacks = !is_runtime_mode_release args = [ "--enable-experiment=non-nullable", - "--nnbd-weak", + "--nnbd-agnostic", "--target=flutter", "-Ddart.vm.product=$is_runtime_mode_release", "-Ddart.developer.causal_async_stacks=$allow_causal_async_stacks",