-
**Describe the bug**
_Continuation of #807_
When using a non-nullable (ie. its type bound forces it to be non-nullable) type parameter, but then marking a field of this type nullable, the copywi…
-
Trying to use the style parameter of Field to perform an inline style override, I copied the below from the docs:
```
@override
fields() => [
Field("Name",
style: (NyTe…
-
**Describe the issue**
With the [freezed](https://pub.dev/packages/freezed#going-further-deep-copy) package, I was able to able copy the Company model by changing only the name of the assistant di…
-
**Describe the bug**
Criei um controller que é um singleton para ter alguns controles sobre o ticket selecionado pelo usuário. Porém quando quero limpar o mesmo passando null, ele acaba me retornando…
-
I like your package compared to Freezed. However, I found an issue. Consider the following code
```
void main(){
final int? someApiResult = null;
final a = Income.empty().copyWith(value: so…
-
### Description
The auto-generated model.dart code on Flutter does not allow setting nullable fields to null.
`model = model.copyWith(nullableField: null)`
Does not work.
We need an alternativ…
-
When i am about to create a model, i write json to dart and use your repository, then add my copyWith and initial, lets say we have A model it contains
```
class A{
String b;
String c;
}…
-
**Describe the bug**
The newly introduced class `SearchInputDecoration` subclasses `InputDecoration`, but does not overwrite the method `copyWith`. Therefore, it is not possibly to call `copyWith` …
-
I am using https://pub.dev/packages/flutter_bloc
We must implement `mapEventToState` and for changes , we have to create new instance of state
https://github.com/felangel/bloc/blob/master/examp…
-
I see the docs mention the use of write and read like so:
```
client.writeFragment$PersonSummary(
idFields: {'__typename': 'Person', 'id': '1'},
data: person.copyWith(name: 'Kurt'),
)…
kvenn updated
3 months ago