-
This package still uses deprecated Dart 1 SCREAMING CAPS CONSTANTS. These will be removed shortly in Dart 2. This rewriting tool can be used to automatically migrate code in most cases: https://github…
-
This is not exhaustive, and probably too late for Dart2, but maybe Dart3?
* [`FallThroughError`](https://api.dartlang.org/dev/2.0.0-dev.69.2/dart-core/FallThroughError-class.html): I believe this i…
-
This example doesn't work with the last version of the package. Please, update it.
-
I may be confused, but my understanding and intuition is that `void` means `nothing`, and something of type `void` cannot take on any values. This understanding is supported by the way that Dart doesn…
-
`class _MainAppState extends State {
int count = 10;
EasyRefreshController controller = EasyRefreshController(controlFinishLoad: true,controlFinishRefresh: true);
@override
Widget build(…
-
```
main() {
var isJava=true;
[
if (isJava) "Java" else "NO java",//dart2.3+ 数组元素内可进行if判断
"Dart",
"Swift",
...["Kotlin", "python"]//将一个数组中的元素进行解构成一个个元素
];
}
```
-
In order to upgrade [my angular pikaday component](https://pub.dartlang.org/packages/pikaday_datepicker_angular) to Dart2 (which has been finally released) I'd need a version of this package which is …
-
```
CastError: Casting value of type 'JsArray' to type 'Iterable' which is incompatible in strong mode
dart:_runtime as_C
browser_tests.dart 258:21 test$.test.dart.fn
CastError: Ca…
-
This is from trying to fix a set of internal test cases using mixins + protocol buffers.
Here is a reproduction case on the latest VM + `--preview-dart-2`:
```dart
import 'dart:collection';
…
-
There is grammar for Dart2.
I'm curious about whether there is support for Dart3's grammar.