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

[dartpad_ui] Specify that Dart 3.6 or later is required #3065

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

parlough
Copy link
Member

Due to some Flutter API changes and our web/Wasm build requirements, we currently require Dart 3.6 beta (Flutter 3.26 beta) or newer to properly run DartPad. This makes it more clear by requiring that with the package's SDK constraint.

Resolves #3061

Copy link

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

Coverage ✔️
File Coverage

This check for test coverage is informational (issues shown here will not fail the PR).

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbols
License Headers ✔️
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/samples/lib/brick_breaker.dart
pkgs/samples/lib/default_dart.dart
pkgs/samples/lib/default_flutter.dart
pkgs/samples/lib/fibonacci.dart
pkgs/samples/lib/google_ai.dart
pkgs/samples/lib/hello_world.dart
pkgs/samples/lib/main.dart
pkgs/samples/lib/sunflower.dart
pkgs/samples/tool/samples.dart
Package publish validation ✔️
Package Version Status

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

Copy link
Member

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

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

👍

@parlough parlough merged commit 42a164b into main Sep 24, 2024
12 checks passed
@parlough parlough deleted the misc/dart-3-6-0-required branch September 24, 2024 19:47
@richanshah
Copy link

i am getting issue on Xcode build if I do this change with latest flutter version 3.27.0.

Error (Xcode):
Error: The method 'withValues' isn't defined for the class 'Color'.

Encountered error while building for device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation error when running dartpad_ui: Error: The method 'withValues' isn't defined for the class 'Color'.
3 participants