diff --git a/example/benchmark/benchmark_app/lib/screens/multi_benchmark_screen.dart b/example/benchmark/benchmark_app/lib/screens/multi_benchmark_screen.dart index 716dd59d..49873215 100644 --- a/example/benchmark/benchmark_app/lib/screens/multi_benchmark_screen.dart +++ b/example/benchmark/benchmark_app/lib/screens/multi_benchmark_screen.dart @@ -2,8 +2,6 @@ import "package:benchmark_app/utils/benchmarks.dart"; import "package:benchmark_app/widgets/release_mode_warning.dart"; import "package:flutter/material.dart"; - - class MultiBenchmarkScreen extends StatelessWidget { final Type collectionType; @@ -35,8 +33,6 @@ class MultiBenchmarkScreen extends StatelessWidget { ); } - - List get _benchmarks { switch (collectionType) { case List: @@ -50,5 +46,3 @@ class MultiBenchmarkScreen extends StatelessWidget { } } } - - diff --git a/example/benchmark/benchmark_app/pubspec.yaml b/example/benchmark/benchmark_app/pubspec.yaml index b6208729..8166d72b 100644 --- a/example/benchmark/benchmark_app/pubspec.yaml +++ b/example/benchmark/benchmark_app/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 environment: flutter: ">=2.0.0 <=3.0.0" - sdk: ">=2.14.0 <3.0.0" + sdk: '>=3.0.0 <4.0.0' flutter: uses-material-design: true diff --git a/example/benchmark/pubspec.yaml b/example/benchmark/pubspec.yaml index 31e9fc10..5abc2679 100644 --- a/example/benchmark/pubspec.yaml +++ b/example/benchmark/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 0.0.1 environment: - sdk: ">=2.14.0 <3.0.0" + sdk: '>=3.0.0 <4.0.0' dependencies: benchmark_harness: ^2.0.0 diff --git a/example/simple/pubspec.yaml b/example/simple/pubspec.yaml index 94f1acec..72396697 100644 --- a/example/simple/pubspec.yaml +++ b/example/simple/pubspec.yaml @@ -3,7 +3,7 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=2.14.0 <3.0.0" + sdk: '>=3.0.0 <4.0.0' dependencies: fast_immutable_collections: diff --git a/json_serializable_e2e_test/pubspec.yaml b/json_serializable_e2e_test/pubspec.yaml index 28359ebe..117ff756 100644 --- a/json_serializable_e2e_test/pubspec.yaml +++ b/json_serializable_e2e_test/pubspec.yaml @@ -2,7 +2,7 @@ name: json_serializable_e2e_test description: e2e tests for fic/json_serializable environment: - sdk: '>=2.14.0 <3.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: fast_immutable_collections: diff --git a/pubspec.yaml b/pubspec.yaml index 3f2d1beb..0492d2ab 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ version: 9.1.6 homepage: https://github.com/marcglasberg/fast_immutable_collections environment: - sdk: '>=2.14.0 <3.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: collection: ^1.17.0