sdk icon indicating copy to clipboard operation
sdk copied to clipboard

The Dart SDK, including the VM, dart2js, core libraries, and more.

Results 764 sdk issues
Sort by recently updated
recently updated
newest added

If code uses a private member on a non-`this` object that is supplied through a public API, like: ```dart class MyBox { final T _value; MyBox(T value) : _value =...

area-analyzer
analyzer-warning
P2
type-enhancement

Example: ```dart abstract class PartialFoo { int get _foo => 42; // Warning here. } abstract class Foo { int get _foo; T _id(T value); } class ConcreteFoo extends PartialFoo...

area-analyzer
P3
analyzer-warning
type-bug

Using ``` import 'dart:collection'; void main() { { var list = []; // works list.length = 1; print('Length: ${list.length}'); } { var list = []; // throws list.length = 1;...

area-analyzer
analyzer-warning
type-enhancement
P4

When coming from JavaScript/TypeScript, where prettier auto-adds () when formatting, I always fight with Dart analyzer because it complains about my code but it never provides a fix (clicking and...

area-analyzer
analyzer-quick-fix
P2
type-enhancement

If you are instantiating a class with multiple parameters, it becomes too slow and error prone. I just want them, 'in order', there. https://user-images.githubusercontent.com/351125/129495633-0bd907fa-ab46-47ee-81ac-edc2065386ea.mov Suggestion: add an "add all parameters"...

area-analyzer
analyzer-quick-fix
P2
type-enhancement

I'm working on some improvements to the Flutter engine. The browser has an API that takes a clamped array and creates image data from the array: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray https://developer.mozilla.org/en-US/docs/Web/API/ImageData This pull...

type-enhancement
area-dart2wasm

## Description When using Dart macros to generate code, unnecessary import prefixes are being included in the generated code. This issue occurs even when the required library is already imported...

area-pkg
feature-macros
pkg-macros

In Dart 3, the introduction of sealed classes is causing an issue with Dart macros. When attempting to use a macro with a sealed class, the generated code includes an...

area-pkg
type-bug
feature-macros
pkg-macros

Hello everyone, I'm currently working on a browser extension using Flutter and have run into an issue with Firefox. When I build my Dart file for the content script, both...

web-dart2js
web-libraries
type-bug
area-web

This error is threw very often with different files ## Dart analysis issue Internal error: Bad state: Expected existing element: root::package:CONFIDENTIAL_INFO/domain/models/schedule/schedule_calendar.dart::@unit::package:CONFIDENTIAL_INFO/domain/models/schedule/schedule_calendar.dart ## Version information - Dart SDK 3.5.1 - Dart...

area-analyzer
type-bug
triage-automation