Unverified Commit 25e38a2a authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546)

Bump lower Dart SDK constraints to 3.0 & add class modifiers
parent 7d767270
name: flutter_automated_tests
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: complex_layout
description: A benchmark of a relatively complex layout.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: macrobenchmarks
description: Performance benchmarks using flutter drive.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: microbenchmarks
description: Small benchmarks for very specific parts of the Flutter framework.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
meta: 1.9.0
......
......@@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters benchmark test.
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -5,7 +5,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: platform_views_layout
description: A benchmark for platform views.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: platform_views_layout_hybrid_composition
description: A benchmark for platform views, using hybrid composition on android.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: stocks
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: tests_on_bots
description: Scripts which run on bots.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
args: 2.4.0
......
......@@ -4,7 +4,7 @@ description: Flutter Automated Release Tool
publish_to: none
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
archive: 3.3.2
......
......@@ -2,7 +2,7 @@ name: customer_testing
description: Tool to run the tests listed in the flutter/tests repository.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
args: 2.4.0
......
......@@ -101,7 +101,7 @@ dependencies:
sdk: flutter
environment:
sdk: ">=2.0.0-dev.28.0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=1.5.0"
''', flush: true);
......
......@@ -3,7 +3,7 @@ description: Flutter continuous integration performance and correctness tests.
homepage: https://github.com/flutter/flutter
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
archive: 3.3.2
......
......@@ -3,7 +3,7 @@ description: Integration test application for basic deferred components function
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: external_ui
description: A test of Flutter integrating external UIs.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: flavors
description: Integration test for build flavors.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: flutter_gallery
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: gradle_deprecated_settings
description: Integration test for the current settings.gradle.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -4,7 +4,7 @@ publish_to: none
description: An integration test for hybrid composition on Android
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -14,7 +14,7 @@ description: A new flutter module project.
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -13,7 +13,7 @@ name: ios_app_with_extensions
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -3,7 +3,7 @@ name: ios_platform_view_tests
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -5,7 +5,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: platform_interaction
description: Integration test for platform interactions.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: release_smoke_test
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
......
......@@ -2,7 +2,7 @@ name: integration_ui
description: Flutter non-plugin UI integration tests.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: web_integration
description: Integration test for web compilation.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
flutter:
assets:
......
name: web_compile_tests
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: web_e2e_tests
publish_to: none
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
flutter:
assets:
......
......@@ -5,7 +5,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=3.0.0-157.0.dev <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: windows_startup_test
description: Integration test for Windows app's startup.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: manual_tests
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: missing_dependency_tests
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -59,7 +59,7 @@ Future<void> main(List<String> arguments) async {
buf.writeln('homepage: https://flutter.dev');
buf.writeln('version: 0.0.0');
buf.writeln('environment:');
buf.writeln(" sdk: '>=2.19.0 <4.0.0'");
buf.writeln(" sdk: '>=3.0.0-0 <4.0.0'");
buf.writeln('dependencies:');
for (final String package in findPackageNames()) {
buf.writeln(' $package:');
......
......@@ -3,7 +3,7 @@ description: A command line script to generate Material component defaults from
version: 1.0.0
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
......
......@@ -2,7 +2,7 @@ name: gen_keycodes
description: Generates keycode source files from various resources.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
args: 2.4.0
......
......@@ -2,7 +2,7 @@ name: dev_tools
description: Various repository development tools for flutter.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
archive: 3.3.2
......
......@@ -4,7 +4,7 @@ version: 0.0.1
homepage: https://flutter.dev
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -2,7 +2,7 @@ name: tracing_tests
description: Various tests for tracing in flutter/flutter
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -7,7 +7,7 @@ publish_to: 'none'
version: 1.0.0
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=2.5.0-6.0.pre.30 <3.0.0"
dependencies:
......
......@@ -2,7 +2,7 @@ name: flutter_view
description: A new flutter project.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: hello_world
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -4,7 +4,7 @@ description: Simple Flutter project used for benchmarking image loading over net
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: flutter_examples_layers
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: platform_channel
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: platform_channel_swift
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: platform_view
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
name: splash
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -109,7 +109,7 @@ const String _flutterFoundationLibrary = 'package:flutter/foundation.dart';
/// See also:
///
/// * [ValueNotifier], which is a [ChangeNotifier] that wraps a single value.
class ChangeNotifier implements Listenable {
mixin class ChangeNotifier implements Listenable {
int _count = 0;
// The _listeners is intentionally set to a fixed-length _GrowableList instead
// of const [].
......
......@@ -865,17 +865,20 @@ class MaterialScrollBehavior extends ScrollBehavior {
child: child,
);
case AndroidOverscrollIndicator.glow:
continue glow;
return _buildGlowingOverscrollIndicator(context, details, child);
}
glow:
case TargetPlatform.fuchsia:
return GlowingOverscrollIndicator(
axisDirection: details.direction,
color: Theme.of(context).colorScheme.secondary,
child: child,
);
return _buildGlowingOverscrollIndicator(context, details, child);
}
}
GlowingOverscrollIndicator _buildGlowingOverscrollIndicator(BuildContext context, ScrollableDetails details, Widget child) {
return GlowingOverscrollIndicator(
axisDirection: details.direction,
color: Theme.of(context).colorScheme.secondary,
child: child,
);
}
}
class _MaterialAppState extends State<MaterialApp> {
......
......@@ -45,7 +45,7 @@ export 'dart:ui' show AppLifecycleState, Locale;
///
/// To respond to other notifications, replace the [didChangeAppLifecycleState]
/// method above with other methods from this class.
abstract class WidgetsBindingObserver {
abstract mixin class WidgetsBindingObserver {
/// Called when the system tells the app to pop the current route.
/// For example, on Android, this is called when the user presses
/// the back button.
......
......@@ -1638,7 +1638,7 @@ class _OverlayPortalState extends State<OverlayPortal> {
//
// Since it can't implement operator== (it's mutable), the same `_OverlayEntryLocation`
// instance must not be used to represent more than one locations.
class _OverlayEntryLocation extends LinkedListEntry<_OverlayEntryLocation> {
final class _OverlayEntryLocation extends LinkedListEntry<_OverlayEntryLocation> {
_OverlayEntryLocation(this._zOrderIndex, this._childModel, this._theater);
final int _zOrderIndex;
......@@ -1954,7 +1954,7 @@ class _DeferredLayout extends SingleChildRenderObjectWidget {
// 3. When invoked from `PipelineOwner.flushLayout`, or
// `_layoutSurrogate.performLayout`, this `RenderObject` behaves like an
// `Overlay` that has only one entry.
class _RenderDeferredLayoutBox extends RenderProxyBox with _RenderTheaterMixin, LinkedListEntry<_RenderDeferredLayoutBox> {
final class _RenderDeferredLayoutBox extends RenderProxyBox with _RenderTheaterMixin, LinkedListEntry<_RenderDeferredLayoutBox> {
_RenderDeferredLayoutBox(this._layoutSurrogate);
StackParentData get stackParentData => parentData! as StackParentData;
......
......@@ -1959,7 +1959,7 @@ class RouteObserver<R extends Route<dynamic>> extends NavigatorObserver {
///
/// This is used with [RouteObserver] to make a widget aware of changes to the
/// [Navigator]'s session history.
abstract class RouteAware {
abstract mixin class RouteAware {
/// Called when the top route has been popped off, and the current route
/// shows up.
void didPopNext() { }
......
......@@ -194,18 +194,21 @@ class ScrollBehavior {
child: child,
);
case AndroidOverscrollIndicator.glow:
continue glow;
return _buildGlowingOverscrollIndicator(details, child);
}
glow:
case TargetPlatform.fuchsia:
return GlowingOverscrollIndicator(
axisDirection: details.direction,
color: _kDefaultGlowColor,
child: child,
);
return _buildGlowingOverscrollIndicator(details, child);
}
}
GlowingOverscrollIndicator _buildGlowingOverscrollIndicator(ScrollableDetails details, Widget child) {
return GlowingOverscrollIndicator(
axisDirection: details.direction,
color: _kDefaultGlowColor,
child: child,
);
}
/// Specifies the type of velocity tracker to use in the descendant
/// [Scrollable]s' drag gesture recognizers, for estimating the velocity of a
/// drag gesture.
......@@ -379,6 +382,11 @@ class _WrappedScrollBehavior implements ScrollBehavior {
@override
String toString() => objectRuntimeType(this, '_WrappedScrollBehavior');
@override
GlowingOverscrollIndicator _buildGlowingOverscrollIndicator(ScrollableDetails details, Widget child) {
return delegate._buildGlowingOverscrollIndicator(details, child);
}
}
/// Controls how [Scrollable] widgets behave in a subtree.
......
......@@ -35,7 +35,7 @@ class _ScrollNotificationObserverScope extends InheritedWidget {
bool updateShouldNotify(_ScrollNotificationObserverScope old) => _scrollNotificationObserverState != old._scrollNotificationObserverState;
}
class _ListenerEntry extends LinkedListEntry<_ListenerEntry> {
final class _ListenerEntry extends LinkedListEntry<_ListenerEntry> {
_ListenerEntry(this.listener);
final ScrollNotificationCallback listener;
}
......
......@@ -174,7 +174,7 @@ class TapRegionSurface extends SingleChildRenderObjectWidget {
/// the render tree.
/// * [TapRegionRegistry.of], which can find the nearest ancestor
/// [RenderTapRegionSurface], which is a [TapRegionRegistry].
class RenderTapRegionSurface extends RenderProxyBoxWithHitTestBehavior with TapRegionRegistry {
class RenderTapRegionSurface extends RenderProxyBoxWithHitTestBehavior implements TapRegionRegistry {
final Expando<BoxHitTestResult> _cachedResults = Expando<BoxHitTestResult>();
final Set<RenderTapRegion> _registeredRegions = <RenderTapRegion>{};
final Map<Object?, Set<RenderTapRegion>> _groupIdToRegions = <Object?, Set<RenderTapRegion>>{};
......
......@@ -3,7 +3,7 @@ description: A framework for writing Flutter applications
homepage: https://flutter.dev
environment:
sdk: '>=2.19.0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
......@@ -329,10 +329,11 @@ void main() {
const Key child0Key = Key('child0');
const Key child1Key = Key('child1');
await tester.pumpWidget(MaterialApp(
home: Material(
child: Center(
child: ExpansionTile(
// TODO(goderbauer): Reevaluate the following ignores when https://github.com/dart-lang/sdk/issues/51800 is fixed.
await tester.pumpWidget(MaterialApp( // ignore: prefer_const_constructors
home: Material( // ignore: prefer_const_constructors
child: Center( // ignore: prefer_const_constructors
child: ExpansionTile( // ignore: prefer_const_constructors
title: const Text('title'),
// Set the column's alignment to Alignment.centerRight to test CrossAxisAlignment
// of children widgets. This helps distinguish the effect of expandedAlignment
......
......@@ -144,7 +144,8 @@ class RenderSelectionSpy extends RenderProxyBox
@override
SelectionGeometry get value => _value;
SelectionGeometry _value = SelectionGeometry(
// TODO(goderbauer): Reevaluate the ignore when https://github.com/dart-lang/sdk/issues/51800 is fixed.
SelectionGeometry _value = SelectionGeometry( // ignore: prefer_const_constructors
hasContent: true,
status: SelectionStatus.uncollapsed,
startSelectionPoint: const SelectionPoint(
......
......@@ -1995,7 +1995,8 @@ class RenderSelectionSpy extends RenderProxyBox
@override
SelectionGeometry get value => _value;
SelectionGeometry _value = SelectionGeometry(
// TODO(goderbauer): Reevaluate the ignore when https://github.com/dart-lang/sdk/issues/51800 is fixed.
SelectionGeometry _value = SelectionGeometry( // ignore: prefer_const_constructors
hasContent: true,
status: SelectionStatus.uncollapsed,
startSelectionPoint: const SelectionPoint(
......@@ -2084,7 +2085,8 @@ class RenderSelectAll extends RenderProxyBox
@override
SelectionGeometry get value => _value;
SelectionGeometry _value = SelectionGeometry(
// TODO(goderbauer): Reevaluate the ignore when https://github.com/dart-lang/sdk/issues/51800 is fixed.
SelectionGeometry _value = SelectionGeometry( // ignore: prefer_const_constructors
hasContent: true,
status: SelectionStatus.uncollapsed,
startSelectionPoint: const SelectionPoint(
......
......@@ -2,7 +2,7 @@ name: flutter_test_private
description: Tests private interfaces of the flutter
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
name: animated_icons_private_test
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
......@@ -3,7 +3,7 @@ description: Integration and performance test API for Flutter applications
homepage: https://flutter.dev
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
file: 6.1.4
......
name: flutter_goldens
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
name: flutter_goldens_client
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
name: flutter_localizations
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
name: flutter_test
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
......@@ -4,6 +4,6 @@
name: dummy
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
# PUBSPEC CHECKSUM: 0000
......@@ -1648,7 +1648,7 @@ Directory createTemporaryFlutterSdk(
// Fill in SDK dependency constraint.
output.write('''
environment:
sdk: ">=2.7.0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
''');
output.writeln('dependencies:');
......@@ -1680,7 +1680,7 @@ description: Dart SDK extensions for dart:ui
homepage: http://flutter.io
# sky_engine requires sdk_ext support in the analyzer which was added in 1.11.x
environment:
sdk: '>=1.11.0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
''');
return directory;
......
......@@ -3,7 +3,7 @@ description: Tools for building Flutter applications
homepage: https://flutter.dev
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
......@@ -60,7 +60,7 @@ void main() {
pubspecFile.writeAsStringSync('''
name: foo_project
environment:
sdk: '>=2.12.0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
''');
final File dartFile = fileSystem.file(fileSystem.path.join(directory.path, 'lib', 'main.dart'));
......
......@@ -23,7 +23,7 @@ description: A framework for writing Flutter applications
homepage: http://flutter.dev
environment:
sdk: ">=2.2.2 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......@@ -60,7 +60,7 @@ homepage: http://flutter.dev
version: 1.0.0
environment:
sdk: ">=2.14.0-383.0.dev <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=2.5.0-6.0.pre.30 <3.0.0"
dependencies:
......
......@@ -2,7 +2,7 @@ name: font
description: A test project that contains a font.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
flutter:
uses-material-design: true
......
......@@ -2,7 +2,7 @@ name: main
description: A test project that has a package with a font as a dependency.
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
font:
......
......@@ -86,7 +86,7 @@ flutter:
pluginClass: none
environment:
sdk: ">=2.12.0-259.9.beta <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=1.20.0"
''';
......
......@@ -166,7 +166,7 @@ flutter:
linux:
dartPluginClass: APlugin
environment:
sdk: ">=2.14.0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=2.5.0"
''');
......
......@@ -17,7 +17,7 @@ description: A framework for writing Flutter applications
homepage: http://flutter.dev
environment:
sdk: '>=2.2.2 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......@@ -51,7 +51,7 @@ description: A dummy pubspec with no dependencies
homepage: http://flutter.dev
environment:
sdk: ">=2.2.2 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
''';
const String kInvalidGitPubspec = '''
......@@ -60,7 +60,7 @@ description: A framework for writing Flutter applications
homepage: http://flutter.dev
environment:
sdk: ">=2.2.2 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
......
......@@ -484,7 +484,7 @@ class _MyHomePageState extends State<MyHomePage> {
const String pubspecYamlSrc = r'''
name: flutter_project
environment:
sdk: ">=2.1.0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -732,7 +732,7 @@ class TestProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -12,7 +12,7 @@ class BackgroundProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......@@ -63,7 +63,7 @@ class RepeatingBackgroundProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -10,7 +10,7 @@ class BasicProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......@@ -63,7 +63,7 @@ class BasicProjectThatThrows extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......@@ -120,7 +120,7 @@ class BasicProjectWithTimelineTraces extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......@@ -169,7 +169,7 @@ class BasicProjectWithFlutterGen extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......@@ -194,7 +194,7 @@ class BasicProjectWithUnaryMain extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
......
......@@ -10,7 +10,7 @@ class CompileErrorProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -13,7 +13,7 @@ class DeferredComponentsProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -34,7 +34,7 @@ class GenL10nProject extends Project {
final String pubspec = '''
name: test_l10n_project
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -10,7 +10,7 @@ class HotReloadConstProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -12,7 +12,7 @@ class HotReloadProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -10,7 +10,7 @@ class HotReloadWithAssetProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -14,7 +14,7 @@ class IntegrationTestsProject extends Project implements TestsProject {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -175,7 +175,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.6.0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -38,7 +38,7 @@ class MultidexProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -10,7 +10,7 @@ class ProjectWithEarlyError extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -10,7 +10,7 @@ class SingleWidgetReloadProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -10,7 +10,7 @@ class HotReloadProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: ">=2.12.0-0 <4.0.0"
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -9,7 +9,7 @@ class SteppingProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
......@@ -65,7 +65,7 @@ class WebSteppingProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
......
......@@ -10,7 +10,7 @@ class TestProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -13,7 +13,7 @@ class TestsProject extends Project {
final String pubspec = '''
name: test
environment:
sdk: '>=2.12.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -3,7 +3,7 @@ description: Library to register Flutter Web plugins
homepage: https://flutter.dev
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
......
......@@ -4,7 +4,7 @@ description: Provides an API to test/debug Flutter applications on remote Fuchsi
homepage: https://flutter.dev
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.0.0-0 <4.0.0'
dependencies:
process: 4.2.4
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment