sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
The `flutter` command always runs a `pub get` when a sub-command that needs a resolution is executed. The `dart` command doesn't. I think the Flutter behavoir is most user friendly,...
JavaScript has the notion of Iterators and Generators, which allow sequential generation and access to elements in a collection without exposing the collection's internal structure. Some links: - `function*` syntax:...
* `Dart SDK version: 3.9.0-211.0.dev (dev) (Fri Jun 6 17:03:13 2025 -0700) on "macos_x64"` * `VSCode Version: 1.100.3 (Universal)` Consider the `main.dart` ```dart final class A { A f()=> this;...
Hi, not sure if this is by design, but: ```dart void main() { final asset = _ImageAsset.fromImage(null); print(asset.retrieveAsync()); } class _ImageAsset { _ImageAsset.fromImage(Image? image) : _image = image; Image? _image;...
A certain large app has ~9.5k entries (strings) in the `init.types` table. References to this table, via `$signature:` properties and arguments to tear-off installers, account for only about 2.5k entries....
Will skip this on Mac for now. Not sure who is the right person to assign this to? @zanderso perhaps?
Repro: ```dart enum E { only; const E(); @overr^ } ``` We should be given the option to override any object declaration, and if implementing/mixin something, those members too.
While trying to repro https://github.com/dart-lang/sdk/issues/60863 I was running the Dart analysis server from source and deleted a folder that was being watched as an analysis root. The process terminated with...
Repro: ```dart class A { A([this.a]); A? a; } void main() { final a = A(A(A())); if (a case A(a: A(:^))) {} } ``` This should show `a` and also...
Repro: ```dart class Foo { Foo.bar() { bar(); } void bar() {} } ``` If you rename the constructor `Foo.bar()`, it makes the instance method call to `bar` inside the...