sdk
                                
                                 sdk copied to clipboard
                                
                                    sdk copied to clipboard
                            
                            
                            
                        The Dart SDK, including the VM, dart2js, core libraries, and more.
Dart version: Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "macos_arm64" The problem is that this code creates unnecessary cast warning: ``` final RxList selectedFiles =...
My understanding is that, similar to `pkg/meta`'s `@required`, `@alwaysThrows` has no use in Dart v3: ```dart // Dart v2 before null-safety import 'package:meta/meta.dart'; @alwaysThrows void a() => throw 'Always throws';...
My understanding is that, similar to `pkg/meta`'s `@alwaysThrows`, `@required` has no use in Dart v3: ```dart // Dart v2 before null-safety import 'package:meta/meta.dart'; void a({@required String name}) {} ``` ```dart...
They have already been deprecated since Dart 2: - https://pub.dev/documentation/meta/latest/meta/checked-constant.html - https://pub.dev/documentation/meta/latest/meta/virtual-constant.html
**Description** Provide a fix to disable a lint rule in `analysis_options.yaml` that is similar to ignore diagnostic fixes. The ignore diagnostic fixes can either ignore a line or an entire...
When using FFI to load a function that has a handle in the signature, you can either put [`Handle`](https://api.dart.dev/stable/2.17.0/dart-ffi/Handle-class.html) in the signature, or `Pointer`. If you use `Handle`, the FFI...
Import quote style should agree with enabled lints. * `prefer_single_quotes` vs. * `prefer_double_quotes` I'm inclined to think the unspecified default should be single quotes (current behavior). /fyi @lrhn
This is a meta issue used to track the progress on making various Dart repos sound null safe. This must happen prior to null safety becoming [the only supported mode](https://github.com/dart-lang/sdk/issues/49530)....
We'd like to track readiness of code for upcoming API deprecations. E.g, if an API is slated to be removed in Dart 3.0, we'd like to be able to mark...
The idea of isolate independent native code is described in [finalization proposal](https://github.com/dart-lang/language/blob/master/accepted/future-releases/1847%20-%20FinalizationRegistry/proposal.md#isolate-independent-native-functions)