Lasse R.H. Nielsen
Lasse R.H. Nielsen
The deprecation does look small when written like that. My main worry is the number of people who would suddenly get a deprecation warning, and would need to address it....
JSON does not have a magic number to recognize it. It's not a binary format, and it doesn't have any header that can store a magic number. A JSON file...
This is a renaming operator, not just a type alias. Nothing would prevent it from renaming a variable or function. It's not a new idea, it has been known since...
My reason against that would be that a rename doesn't expose a declaration. If you expose a name using a `typedef`, there is an actual declaration with that name that...
One thing you can do is have your own library: ```dart // lib/src/nocard_material.dart import 'package:flutter/material.dart' as card; export 'package:flutter/material.dart' hide Card; typedef FlutterCard = card.Card; ``` and then import that...
You never need more than one `show` or one `hide` combinator to achieve any hiding-goal. I'd warn about any time you have more than one. Here the second `show`, `show...
This has the opposite direction of #1246. That pipe would require you to write `Text(…)|>DecoratedBox(…)|>Center()` Which has the same inversion of order issue as chained methods. This sounds like a...
Another problem with moving files into the `.dart_tool` directory is that they are outside of the `lib/` directory. That means that files inside the `lib/` directory cannot refer to them,...
> A (likely generated) file could declare that it is a `part of` some other library without that library having to point to it. How does the compiler know what...
Microtasks are *mostly* unrelated to timer events. The only real relation is that microtasks scheduled by one timer event should be separate (and complete before) any other timer event or...