-
Based on https://mauricereigman.medium.com/immutable-typescript-classes-with-object-copywith-typesafe-a84fff3971dc:
```
copyWith(newValues: { [P in keyof this]?: this[P] }): this {
return O…
-
As far as dart passes objects by reference it would be great to have a 'copyWith' extension for the data classes with something like this
https://github.com/numen31337/copy_with_extension
docs
…
-
In a scenario when editing an already existing record, there is a need to initialize initial values for FieldBlocs. The first validation seems to happen on creating FormBloc. Values are empty at that …
-
-
I am changing the overlay when the video is playing. I added a listener to my controller and in it, I check the isPlaying property. If the video is playing, I change the overlay by updating the contro…
-
Hello!
Before the recent InvalidType changes, when a code-generator encountered an invalid type, they generated "dynamic". But now, the same generator will generate `InvalidType`, which is not a va…
-
**Describe the issue**
When initialize an object with default value using factory constructor, warning will be showed. However if I add the `const` keyword, the code will fail to compile. Remove the …
-
Hi. Recently `graphql_client` got `copyWith...` methods to alter `WatchQueryOptions`.
It is not very comfortable to use separate methods for dealing with each value one by one.
-
We could add a rewrite frames integration similar to [javascript](https://docs.sentry.io/platforms/javascript/configuration/integrations/rewriteframes/) that allows users to manipulate the frames in a…
-
**These are the error logs when I import the package to use it.**
**Flutter version: 3.10.5**
Steps:
Just add the package and import to use
: Error: The class 'Drag' can't be used as a mix…