sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
Using Dart SDK version: 3.11.0-190.0.dev (dev) (Mon Dec 1 04:03:43 2025 -0800) on "windows_x64" And given the following code: ```dart void main() { final a = switch (1) { final...
The new analyzer plugin system seems to be humming along nicely (all of the [bug reports and feature requests](https://github.com/dart-lang/sdk/issues?q=is%3Aissue%20state%3Aopen%20label%3Adevexp-plugin) are a good thing, right?). Barring unforeseen complications, we should be...
After https://github.com/dart-lang/sdk/issues/61793, I can't test warnings correctly. Because of what I mentioned in https://github.com/dart-lang/sdk/issues/61928. We are always using `Registry.ruleRegistry.registerLintRule` and this internally casts the `DiagnosticCode` to `LintCode`. ```dart @mustCallSuper @override...
This was raised at https://github.com/Dart-Code/Dart-Code/issues/5817 by @FMorschel and I was able to reproduce it by adding an artificial delay during plugin startup. The error occurs when the plugin is trying...
I noticed some deprecations in the `Color` class were causing some pain for users, so I tried to see if we could add dart fix support for `dart:ui`. First I...
`Dart SDK version: 3.8.0-149.0.dev (dev) (Thu Feb 27 04:01:43 2025 -0800) on "macos_x64"` There are several ways to use `Never` to create dead code or declarations that are impossible to...
Using Dart SDK version: 3.11.0-190.0.dev (dev) (Mon Dec 1 04:03:43 2025 -0800) on "windows_x64" The following code: ```dart class Foo { Foo({required int foo, required int foobar}); } ``` shows...
Following on issue #61996 Tested on dart 3.10 and linux. Simply add `sqlite3 : ^3.0.0` that has build books steps. Assuming the following `bin/main.dart`: ```dart void main(List arguments) { print('Hello');...
dart version: 3.10.* 3.11.0-93.1.beta flutter version: 3.38.0-0.2.pre 3.39.0-0.1.pre on macOS 13.7.8, **the latest version of intel x86 CPU of macOS**. After a cold reboot, first time of running `flutter run...
Dart: 3.7.2 Platform: MacOS When running `dart analyze`, the CLI will check what's inside analysis_options.yaml and will ignore file mentioned in the analyzer.exclude section. When one or many files are...