Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up SDK constraints and lints #2471

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin.
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion add_to_app/books/flutter_module_books/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: A Flutter module using the Pigeon package to demonstrate
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion add_to_app/fullscreen/flutter_module/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An example Flutter module.
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters_ios and multiple
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin.
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion add_to_app/prebuilt_module/flutter_module/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An example Flutter module.
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion ai_recipe_generation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 0.1.0

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
async: ^2.11.0
Expand Down
2 changes: 0 additions & 2 deletions analysis_defaults/lib/flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ linter:
cancel_subscriptions: true
close_sinks: true
directives_ordering: true
package_api_docs: true
package_prefixed_library_names: true
test_types_in_equals: true
throw_in_finally: true
unawaited_futures: true
Expand Down
2 changes: 1 addition & 1 deletion analysis_defaults/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Analysis defaults for flutter/samples
publish_to: none

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

# NOTE: Code is not allowed in this package. Do not add more dependencies.
# The `flutter_lints` dependency is required for `lib/flutter.yaml`.
Expand Down
2 changes: 1 addition & 1 deletion android_splash_screen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: "none"
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion animations/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0+1
publish_to: none

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions asset_transformation/grayscale_transformer/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ description: A sample command-line application.
version: 1.0.0

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
args: ^2.4.2
image: ^4.1.7

dev_dependencies:
lints: ^4.0.0
lints: ^5.0.0
test: ^1.24.0
4 changes: 2 additions & 2 deletions asset_transformation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 0.1.0

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand All @@ -14,7 +14,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0
vector_graphics_compiler: ^1.1.11+1
grayscale_transformer:
path: ./grayscale_transformer
Expand Down
2 changes: 1 addition & 1 deletion background_isolate_channels/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
cupertino_icons: ^1.0.2
Expand Down
2 changes: 1 addition & 1 deletion code_sharing/client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: "none"
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
cupertino_icons: ^1.0.2
Expand Down
2 changes: 1 addition & 1 deletion code_sharing/server/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
publish_to: "none"

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
args: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion code_sharing/shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Common data models required by our client and server
version: 1.0.0

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
freezed_annotation: ^2.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Foundation
import path_provider_foundation
import share_plus
import shared_preferences_foundation
import sqflite
import sqflite_darwin

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
Expand Down
4 changes: 2 additions & 2 deletions compass_app/app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 0.1.0

environment:
sdk: '>=3.4.1 <4.0.0'
sdk: ^3.5.0

dependencies:
cached_network_image: ^3.3.1
Expand All @@ -27,7 +27,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0
mocktail_image_network: ^1.2.0
mocktail: ^1.0.4
integration_test:
Expand Down
2 changes: 1 addition & 1 deletion compass_app/server/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0

environment:
sdk: ^3.4.3
sdk: ^3.5.0

dependencies:
args: ^2.4.0
Expand Down
2 changes: 1 addition & 1 deletion context_menus/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion deeplink_store_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion desktop_photo_search/fluent_ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
built_collection: ^5.1.1
Expand Down
2 changes: 1 addition & 1 deletion desktop_photo_search/material/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
built_collection: ^5.1.1
Expand Down
4 changes: 2 additions & 2 deletions dynamic_theme/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "Sample app for the google_generative_ai package"
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: '>=3.3.0 <4.0.0'
sdk: ^3.5.0

dependencies:
flutter:
Expand All @@ -15,7 +15,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0

flutter:
uses-material-design: true
Expand Down
2 changes: 1 addition & 1 deletion experimental/date_planner/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies:
uuid:

dev_dependencies:
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Demonstrates how to use the federated_plugin plugin.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 0.0.1
publish_to: "none"

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
homepage:

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
homepage:

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
publish_to: none

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
homepage:

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion experimental/linting_tool/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 1.0.0+1
publish_to: "none"

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion experimental/pedometer/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion experimental/pedometer/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
publish_to: none

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion experimental/varfont_shader_puzzle/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion experimental/web_dashboard/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0+1
publish_to: none

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
cloud_firestore: ^5.0.1
Expand Down
2 changes: 1 addition & 1 deletion flutter_maps_firestore/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion form_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: "none"
version: 1.0.0+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion game_template/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish_to: 'none'
version: 0.0.1+1

environment:
sdk: ^3.4.0-0
sdk: ^3.5.0

dependencies:
flutter:
Expand Down
Loading