diff --git a/examples/_animation/basic_hero_animation/pubspec.yaml b/examples/_animation/basic_hero_animation/pubspec.yaml
index cc4a0e1eda3..452cb540e7a 100644
--- a/examples/_animation/basic_hero_animation/pubspec.yaml
+++ b/examples/_animation/basic_hero_animation/pubspec.yaml
@@ -5,7 +5,7 @@ description: >-
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/_animation/basic_radial_hero_animation/pubspec.yaml b/examples/_animation/basic_radial_hero_animation/pubspec.yaml
index 923af53b8d9..e09286c618b 100644
--- a/examples/_animation/basic_radial_hero_animation/pubspec.yaml
+++ b/examples/_animation/basic_radial_hero_animation/pubspec.yaml
@@ -6,7 +6,7 @@ description: >-
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/_animation/basic_staggered_animation/pubspec.yaml b/examples/_animation/basic_staggered_animation/pubspec.yaml
index fec2ecd870f..e5eadb49c2d 100644
--- a/examples/_animation/basic_staggered_animation/pubspec.yaml
+++ b/examples/_animation/basic_staggered_animation/pubspec.yaml
@@ -4,7 +4,7 @@ description: An introductory example to staggered animations.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/_animation/hero_animation/pubspec.yaml b/examples/_animation/hero_animation/pubspec.yaml
index aa986479b81..8e00c7d92bd 100644
--- a/examples/_animation/hero_animation/pubspec.yaml
+++ b/examples/_animation/hero_animation/pubspec.yaml
@@ -4,7 +4,7 @@ description: Shows how to create a simple Hero transition.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/_animation/radial_hero_animation/pubspec.yaml b/examples/_animation/radial_hero_animation/pubspec.yaml
index ddbb1618bab..f0a50efef70 100644
--- a/examples/_animation/radial_hero_animation/pubspec.yaml
+++ b/examples/_animation/radial_hero_animation/pubspec.yaml
@@ -6,7 +6,7 @@ description: >-
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml b/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml
index 511387bc646..140956d18b5 100644
--- a/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml
+++ b/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml
@@ -6,7 +6,7 @@ description: >-
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/_animation/staggered_pic_selection/pubspec.yaml b/examples/_animation/staggered_pic_selection/pubspec.yaml
index af0ad5c1c5f..0b86b29dece 100644
--- a/examples/_animation/staggered_pic_selection/pubspec.yaml
+++ b/examples/_animation/staggered_pic_selection/pubspec.yaml
@@ -4,7 +4,7 @@ description: A more complex staggered animation example.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/accessibility/pubspec.yaml b/examples/accessibility/pubspec.yaml
index 30d6d9a6df4..08ac73ef9b3 100644
--- a/examples/accessibility/pubspec.yaml
+++ b/examples/accessibility/pubspec.yaml
@@ -5,7 +5,7 @@ publish_to: none
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/analysis_options.yaml b/examples/analysis_options.yaml
index 66d698da6e8..a53c0054de3 100644
--- a/examples/analysis_options.yaml
+++ b/examples/analysis_options.yaml
@@ -37,7 +37,9 @@ linter:
- prefer_final_fields
- prefer_relative_imports
- prefer_single_quotes
+ - simplify_variable_pattern
- sort_unnamed_constructors_first
+ - specify_nonobvious_property_types
- strict_top_level_inference
- switch_on_type
- test_types_in_equals
diff --git a/examples/animation/animate0/pubspec.yaml b/examples/animation/animate0/pubspec.yaml
index 5711059279a..c7bd2694c89 100644
--- a/examples/animation/animate0/pubspec.yaml
+++ b/examples/animation/animate0/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/animation/animate1/pubspec.yaml b/examples/animation/animate1/pubspec.yaml
index 3ad85acc0d7..026e6dde106 100644
--- a/examples/animation/animate1/pubspec.yaml
+++ b/examples/animation/animate1/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/animation/animate2/pubspec.yaml b/examples/animation/animate2/pubspec.yaml
index f13b7eb4793..2c85add160f 100644
--- a/examples/animation/animate2/pubspec.yaml
+++ b/examples/animation/animate2/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/animation/animate3/pubspec.yaml b/examples/animation/animate3/pubspec.yaml
index 46c72e44da8..99639d6afb1 100644
--- a/examples/animation/animate3/pubspec.yaml
+++ b/examples/animation/animate3/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/animation/animate4/pubspec.yaml b/examples/animation/animate4/pubspec.yaml
index bc10124af3a..add514f1ff4 100644
--- a/examples/animation/animate4/pubspec.yaml
+++ b/examples/animation/animate4/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/animation/animate5/pubspec.yaml b/examples/animation/animate5/pubspec.yaml
index 71cafc3bb67..b5aa9b8e782 100644
--- a/examples/animation/animate5/pubspec.yaml
+++ b/examples/animation/animate5/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/app-architecture/command/pubspec.yaml b/examples/app-architecture/command/pubspec.yaml
index e61093a2cbc..9d3625d102a 100644
--- a/examples/app-architecture/command/pubspec.yaml
+++ b/examples/app-architecture/command/pubspec.yaml
@@ -3,7 +3,7 @@ description: Example for command cookbook recipe
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/app-architecture/offline_first/pubspec.yaml b/examples/app-architecture/offline_first/pubspec.yaml
index ad9c6e95680..10423847802 100644
--- a/examples/app-architecture/offline_first/pubspec.yaml
+++ b/examples/app-architecture/offline_first/pubspec.yaml
@@ -3,7 +3,7 @@ description: Example for offline_first cookbook recipe
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/app-architecture/optimistic_state/pubspec.yaml b/examples/app-architecture/optimistic_state/pubspec.yaml
index 63d76d6b0d5..0bbe011daff 100644
--- a/examples/app-architecture/optimistic_state/pubspec.yaml
+++ b/examples/app-architecture/optimistic_state/pubspec.yaml
@@ -3,7 +3,7 @@ description: Example for optimistic_state cookbook recipe
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/app-architecture/result/pubspec.yaml b/examples/app-architecture/result/pubspec.yaml
index c4af6b828cd..53579891250 100644
--- a/examples/app-architecture/result/pubspec.yaml
+++ b/examples/app-architecture/result/pubspec.yaml
@@ -3,7 +3,7 @@ description: Example for result cookbook recipe
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/app-architecture/todo_data_service/pubspec.yaml b/examples/app-architecture/todo_data_service/pubspec.yaml
index 47f3b789590..d20f7801329 100644
--- a/examples/app-architecture/todo_data_service/pubspec.yaml
+++ b/examples/app-architecture/todo_data_service/pubspec.yaml
@@ -3,7 +3,7 @@ description: Example for key_value_data cookbook recipe
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/animation/animated_container/pubspec.yaml b/examples/cookbook/animation/animated_container/pubspec.yaml
index 73f8a999aff..f43c4febd7a 100644
--- a/examples/cookbook/animation/animated_container/pubspec.yaml
+++ b/examples/cookbook/animation/animated_container/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for cookbook.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/animation/opacity_animation/pubspec.yaml b/examples/cookbook/animation/opacity_animation/pubspec.yaml
index 4057999250b..ae343964a53 100644
--- a/examples/cookbook/animation/opacity_animation/pubspec.yaml
+++ b/examples/cookbook/animation/opacity_animation/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for cookbook.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/animation/page_route_animation/pubspec.yaml b/examples/cookbook/animation/page_route_animation/pubspec.yaml
index 04ae456a310..647f1aefe80 100644
--- a/examples/cookbook/animation/page_route_animation/pubspec.yaml
+++ b/examples/cookbook/animation/page_route_animation/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for cookbook.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/animation/physics_simulation/pubspec.yaml b/examples/cookbook/animation/physics_simulation/pubspec.yaml
index 5042d933bb9..3355fc0989a 100644
--- a/examples/cookbook/animation/physics_simulation/pubspec.yaml
+++ b/examples/cookbook/animation/physics_simulation/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for cookbook.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/drawer/pubspec.yaml b/examples/cookbook/design/drawer/pubspec.yaml
index e6596d3828d..11b935bdb4a 100644
--- a/examples/cookbook/design/drawer/pubspec.yaml
+++ b/examples/cookbook/design/drawer/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for drawer cookbook recipe.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/fonts/pubspec.yaml b/examples/cookbook/design/fonts/pubspec.yaml
index c6073d5b597..d329b5580c8 100644
--- a/examples/cookbook/design/fonts/pubspec.yaml
+++ b/examples/cookbook/design/fonts/pubspec.yaml
@@ -5,7 +5,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/orientation/pubspec.yaml b/examples/cookbook/design/orientation/pubspec.yaml
index cb8203767a2..b7c08105482 100644
--- a/examples/cookbook/design/orientation/pubspec.yaml
+++ b/examples/cookbook/design/orientation/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for orientation cookbook recipe.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/package_fonts/pubspec.yaml b/examples/cookbook/design/package_fonts/pubspec.yaml
index 1b1f4a94a35..750cb218bd3 100644
--- a/examples/cookbook/design/package_fonts/pubspec.yaml
+++ b/examples/cookbook/design/package_fonts/pubspec.yaml
@@ -5,7 +5,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/snackbars/pubspec.yaml b/examples/cookbook/design/snackbars/pubspec.yaml
index 9d21917247c..049b7568ca7 100644
--- a/examples/cookbook/design/snackbars/pubspec.yaml
+++ b/examples/cookbook/design/snackbars/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for snackbars cookbook recipe.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/tabs/pubspec.yaml b/examples/cookbook/design/tabs/pubspec.yaml
index 63bcb11813d..dd805ef130c 100644
--- a/examples/cookbook/design/tabs/pubspec.yaml
+++ b/examples/cookbook/design/tabs/pubspec.yaml
@@ -3,7 +3,7 @@ description: Sample code for tabs cookbook recipe.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/design/themes/pubspec.yaml b/examples/cookbook/design/themes/pubspec.yaml
index 86c19f80813..1aae8bf2e82 100644
--- a/examples/cookbook/design/themes/pubspec.yaml
+++ b/examples/cookbook/design/themes/pubspec.yaml
@@ -3,12 +3,12 @@ description: Sample code for themes cookbook recipe.
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
sdk: flutter
- google_fonts: ^7.0.0
+ google_fonts: ^8.0.0
flutter:
uses-material-design: true
diff --git a/examples/cookbook/effects/download_button/pubspec.yaml b/examples/cookbook/effects/download_button/pubspec.yaml
index c583790bce0..5d1a3aff6f8 100644
--- a/examples/cookbook/effects/download_button/pubspec.yaml
+++ b/examples/cookbook/effects/download_button/pubspec.yaml
@@ -5,7 +5,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/drag_a_widget/pubspec.yaml b/examples/cookbook/effects/drag_a_widget/pubspec.yaml
index 14dd510f0b4..401a966e752 100644
--- a/examples/cookbook/effects/drag_a_widget/pubspec.yaml
+++ b/examples/cookbook/effects/drag_a_widget/pubspec.yaml
@@ -7,7 +7,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/expandable_fab/pubspec.yaml b/examples/cookbook/effects/expandable_fab/pubspec.yaml
index 39ab671d30a..7963d1092f8 100644
--- a/examples/cookbook/effects/expandable_fab/pubspec.yaml
+++ b/examples/cookbook/effects/expandable_fab/pubspec.yaml
@@ -6,7 +6,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/gradient_bubbles/pubspec.yaml b/examples/cookbook/effects/gradient_bubbles/pubspec.yaml
index f0f38e21bd4..efca27919ed 100644
--- a/examples/cookbook/effects/gradient_bubbles/pubspec.yaml
+++ b/examples/cookbook/effects/gradient_bubbles/pubspec.yaml
@@ -5,7 +5,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/nested_nav/pubspec.yaml b/examples/cookbook/effects/nested_nav/pubspec.yaml
index f89f0096fa9..fe6c2cd61d9 100644
--- a/examples/cookbook/effects/nested_nav/pubspec.yaml
+++ b/examples/cookbook/effects/nested_nav/pubspec.yaml
@@ -7,7 +7,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/parallax_scrolling/pubspec.yaml b/examples/cookbook/effects/parallax_scrolling/pubspec.yaml
index b9cbafb93dd..3d8b960b578 100644
--- a/examples/cookbook/effects/parallax_scrolling/pubspec.yaml
+++ b/examples/cookbook/effects/parallax_scrolling/pubspec.yaml
@@ -7,7 +7,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/shimmer_loading/pubspec.yaml b/examples/cookbook/effects/shimmer_loading/pubspec.yaml
index e16b5b4ce67..601103143cb 100644
--- a/examples/cookbook/effects/shimmer_loading/pubspec.yaml
+++ b/examples/cookbook/effects/shimmer_loading/pubspec.yaml
@@ -7,7 +7,7 @@ version: 1.0.0+1
resolution: workspace
environment:
- sdk: ^3.10.0
+ sdk: ^3.11.0
dependencies:
flutter:
diff --git a/examples/cookbook/effects/staggered_menu_animation/lib/animation_delays.dart b/examples/cookbook/effects/staggered_menu_animation/lib/animation_delays.dart
index 74c73595d66..4ffda0e0593 100644
--- a/examples/cookbook/effects/staggered_menu_animation/lib/animation_delays.dart
+++ b/examples/cookbook/effects/staggered_menu_animation/lib/animation_delays.dart
@@ -16,7 +16,7 @@ class _MenuState extends State