sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
In the following code: ```dart final x = Column( mainAxisAlignment: y, children: [ SizedBox(), Expanded(child: Padding(padding: EdgeInsets.zero)), Placeholder(), ], ); ``` The analyzer suggests adding a `const` modifer before the...
# Workspace feature ## Description Support shared resolution between packages of a workspace / mono-repo. Workspaces are tightly related packages that are developed and released together. We have seen the...
After opening a named pipe in an unrelated part of the code, async file operations like `.delete()` or `.length()` will hang forever. Interestingly this only starts to happen with 46...
I have a Flutter app with Drift (db manager package) that spawns another isolate to handle the DB (not sure it matters just to point out the two isolates in...
Origin: https://github.com/flutter/flutter/issues/153064#issuecomment-2305662791. On Flutter 3.24.1, I'm seeing many reports of this crash: ```diff SocketException: SocketException: Connection attempt cancelled, host: localhost, port: 51225 at _NativeSocket.startConnect(socket_patch.dart:721) at _RawSocket.startConnect(socket_patch.dart:1920) at RawSocket.startConnect(socket_patch.dart:27) at Socket._startConnect(socket_patch.dart:2144)...
This tracker is for issues related to: * Dart native and web compilers * Dart VM > Upstream: https://github.com/cfug/dio/issues/2282 We've split our Dio adapter with conditional imports. However, writing the...
As per the discussion in https://github.com/dart-lang/linter/issues/4968, we want to start reporting `UNUSED_LOCAL_VARIABLE` for non wildcard underscore cases (e.g., `__`, `___`, etc). **UPDATE:** non-wildcard underscores will produce diagnostics but whether we...
* Dart analyzer and linter Callable is not compatible with cascading. In my case it is used as an `init()` lifecycle but I want to keep the reference of the...
This issue tracks all the analysis server work items for the wildcard variables feature. Referenced from: https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/process/new_language_feature.md - [x] Call Hierarchy - Tests needed. - No crashes - Maybe should...
Macro crashes on this code: `param.type.code`. ## Macro Example ```dart @FunctionalWidget() void myComponent(int a) {} import 'package:macros/macros.dart'; macro class FunctionalWidget implements FunctionTypesMacro { const FunctionalWidget(); @override Future buildTypesForFunction( FunctionDeclaration function,...