[null-safety] remove enable experiment flags (#69930)

This commit is contained in:
Jonah Williams
2020-11-05 23:58:11 -08:00
committed by GitHub
parent 4c1d015e9e
commit 6fe800abd5
16 changed files with 12 additions and 35 deletions

View File

@@ -3,8 +3,6 @@
include: ../../analysis_options.yaml
analyzer:
enable-experiment:
- non-nullable
errors:
always_require_non_null_named_parameters: false # not needed with nnbd
type_init_formals: false # https://github.com/dart-lang/linter/issues/2192

View File

@@ -2,7 +2,7 @@ name: flutter_examples_layers
environment:
# The pub client defaults to an <2.0.0 sdk constraint which we need to explicitly overwrite.
sdk: ">=2.10.0-0.0.dev <3.0.0"
sdk: ">=2.12.0-0 <3.0.0"
dependencies:
flutter: