Michael Goderbauer
Michael Goderbauer
Let's imagine we have been provided with a `GenerateFields` macro that generates the fields for constructor arguments to cut down on boilerplate. Developers can use it as follows: ```dart ///...
Imagine we have a library as follows: ```dart /// Long and extensive documentation about this library library foo; // Good stuff in this library. ``` I would now like to...
Something like this should work: ```dart /// @docImport 'dart:io' as io; library; /// You can use [io.Stdin] to... void foo() { // intentionally left blank } ```
The new dart formatter wants to format this as follows: ```dart void _showDialog(Widget child, BuildContext context) { showCupertinoModalPopup( context: context, builder: (BuildContext context) => Container( height: 216, padding: const EdgeInsets.only(top:...
In theory, const-ness should give apps a performance boost, but during development the lints enforcing const are constantly nagging developers: "Make this const" or "This cannot be const anymore". To...
In the following doc comment the `unintended_html_in_doc_comment` lint fires on `[Tween]` and `Tween` even though the docs render correctly. ```dart /// You can also use [Tween]. /// And have you...
Currently, `flutter_gen` is a virtual package we generate to provide certain functionality (e.g. [internationalisation](https://docs.flutter.dev/development/accessibility-and-localization/internationalization#adding-your-own-localized-messages)). Developers have to import that package into their app. The package itself is not listed in...
Only observation: It forces a type on `_` parameters.
Running `dart format` on the following code... ```dart import 'dart:io'; bool foo() { if ( // Explicitly stated to not be a bot. Platform.environment['BOT'] == 'false' ) { return false;...