Skip to content
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.7.0-323.2.beta
sdk: ^3.7.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make CI happy I'd go with sdk: ^3.7.0-0. This deals with the situation that beta frequently lags stable during the major revision update.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice trick, I had never thought about that.


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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
flutter:
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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.0

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

environment:
sdk: ^3.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
args: ^2.4.2
Expand Down
2 changes: 1 addition & 1 deletion 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.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
flutter:
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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
freezed_annotation: ^2.1.0
Expand Down
6 changes: 3 additions & 3 deletions compass_app/app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish_to: none
version: 0.1.0

environment:
sdk: ^3.7.0-323.2.beta
sdk: ^3.6.0

dependencies:
cached_network_image: ^3.4.1
Expand All @@ -31,8 +31,8 @@ dev_dependencies:
flutter_lints: ^5.0.0
mocktail_image_network: ^1.2.0
mocktail: ^1.0.4
# integration_test:
# sdk: flutter
integration_test:
sdk: flutter
build_runner: ^2.4.14
freezed: ^2.5.7
json_serializable: ^6.9.0
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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
built_collection: ^5.1.1
Expand Down
2 changes: 1 addition & 1 deletion 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.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ class MyApp extends StatelessWidget {

@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.light(),
home: const HomePage(),
);
return MaterialApp(theme: ThemeData.light(), home: const HomePage());
}
}

Expand All @@ -36,19 +33,17 @@ class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Federated Plugin Demo'),
),
appBar: AppBar(title: const Text('Federated Plugin Demo')),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
batteryLevel == null
? const SizedBox.shrink()
: Text(
'Battery Level: $batteryLevel',
style: Theme.of(context).textTheme.headlineSmall,
),
'Battery Level: $batteryLevel',
style: Theme.of(context).textTheme.headlineSmall,
),
const SizedBox(height: 16),
FilledButton(
onPressed: () async {
Expand All @@ -62,9 +57,7 @@ class _HomePageState extends State<HomePage> {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: Theme.of(context).primaryColor,
content: Text(
(error as dynamic).message as String,
),
content: Text((error as dynamic).message as String),
),
);
}
Expand Down
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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.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.7.0-323.2.beta
sdk: ^3.7.0

dependencies:
flutter:
Expand Down
Loading
Loading