Results 44 comments of Michael Debertol

Thanks for pointing this out, it should be fixed now.

I just encountered a case where something like this could be useful as well. A potential alternative API could be what [rust does](https://doc.rust-lang.org/std/primitive.slice.html#method.binary_search_by), which I find a bit simpler. Here's...

@rodydavis do you think you'll have time to review my prs?

I've also opened https://github.com/Pyozer/flutter_material_color_picker/pull/21 to change the default to true again.

It seems like the flutter master channel formats some files differently than the stable channel. To make the check happy I formatted everything using the master channel formatter.

We should probably still do a comparison by the string representation of the type, to make sure this doesn't break: ```dart @freezed class Container with _$Container { const factory Container.one()...

There is also a bug when handling typedefs: Consider this example (to be placed into the integration test directory) ```dart import 'package:freezed_annotation/freezed_annotation.dart'; import 'external_typedef.dart'; import 'external_typedef_two.dart' as two; @freezed class...

Here's another convoluted one for you :wink: ```dart @freezed class CommonType with _$CommonType { const factory CommonType.one({required int a}) = _One; const factory CommonType.two({required num a}) = _Two; } @freezed...

> Unlike a common supertype(leastUpperBound) which is used for getters, common subtypes don't end up with something general like Object? Exactly. For common subtypes it will only consider the types...

`unfreezed` classes don't work yet: ```dart @unfreezed class CommonType with _$CommonType { const factory CommonType.one({required int a}) = _One; const factory CommonType.two({required num a}) = _Two; } ``` produces: The...