Alexandre Ardhuin

Results 102 comments of Alexandre Ardhuin

Thanks for the info. A workaround can be to have a unbound exchange into which regular publications are done. Any other idea?

@Hixie TBH the import/export part tends to become a big mess and I see more and more drawbacks on exporting public api. For instance, supposed you write a new file...

PTAL. Once approved I'll add `// ignore` in flutter plugins to make the CI happy.

Suppose you create a file `packages/flutter/lib/src/file.dart` containing only: ```dart Color? _color; ``` An `undefined_class` error appears on `Color`. Here is the list of imports suggested that can fix the issue...

> In the absence of anything else, presumably dart:ui is the right choice, since that's where it comes from. Presumably the IDEs that do autocomplete of imports can figure that...

> > I don't have numbers but I think most of devs rely on IDE and analyzer suggestions/fixes. > > Most may, but we cannot abandon those who do not....

> > the small set of users that don't use an IDE > > It's not a small set. It's probably the majority. Anyone reading tutorials, watching YouTube, editing a...

> I agree that the list of exports is bigger than what we want. What makes widgets.dart want to re-export rendering.dart's render objects? Basically every `createRenderObject` method on all `SingleChildRenderObjectWidget`...

This issue still exist in analyzer-4.3.1. I just faced it again in https://github.com/dart-lang/linter/pull/3568#discussion_r935636271

> int foo({String? value}) { ... } // Cannot make nullable parameter required any more. Flutter sometimes uses _required nullable named parameters_ purposely. eg. the `onPressed` parameter on [TextButton constructor](https://api.flutter.dev/flutter/material/TextButton/TextButton.html)...