Nicolas Schlecker

Results 14 issues of Nicolas Schlecker

Enhanced enum constructors are required to be `const`. Therefore all final non getter members are implicitly `const` as well. Additionally the index of an enum value is also pre-determined at...

feature

I have a few model classes I generate with freezed that have around 30 fields. Only four or five of those are of any value when I log them somewhere....

enhancement

Instead of using the `Id` type directly I would like to create value classes for all ids. These Id ValueClasses might look something like this: ```dart class CustomerId { const...

enhancement

The new field `isCommonWithDifferentNullability` might not be perfect but it was the best way I could come up with to propagate the information.

Currently the generated `mapOrNull` / `whenOrNull` callbacks specify a non-null return type. ```dart @optionalTypeArgs TResult? mapOrNull({ TResult Function(A value)? a, TResult Function(B value)? b, }) ``` This forces us to...

bug
needs triage

Null safety is in beta with flutter core support and it's therefore time to start migrating packages as per the [dart migration guide](https://dart.dev/null-safety/migration-guide).

[Drift](https://pub.dev/packages/drift) is a persistence library for Dart bases on SQLite. It has introduced some modifications/extensions to the basic SQLite syntax for better code generation. See [drift_files](https://drift.simonbinder.eu/docs/using-sql/drift_files/). Would it be possible...

feature
new dialect

We're using a lot of value classes for things like ids. Currently `auto_route` does not allow any non primitive types as path/query parameters. I'd like to propose adding support for...

Currently when defining a FormControl we usually give it a Type. This type is then made nullable internally in the FormControl. The problem with this approach is that we might...