Alexandru Dochioiu
Alexandru Dochioiu
The approach I am suggesting removes the need for ViewModelModule, decreasing the boilerplate _Note:_ This new approach has the exact same level of compile-time safety as the one being replaced.
Currently, dagger-reflect doesn't work with injectors interfaces relying on generics, such as: ```kotlin interface Injector { fun inject(instance: T) } @Component interface MainActivityComponent : Injector ``` This PR would fix...
On Android, the viewmodels rely on `viewModelScope`, which is essentially the same as `CoroutineScope(SupervisorJob() + Dispatchers.Main.immediate)`. If I update a `MutableStateFlow` multiple times inside `viewModelScope.launch` I don't seem to be...
**Steps to Reproduce** 1. Create a box 2. Put anything in it with a `String` key. 3. Call `box.get(null)` or `box.get(null, defaultValue)` **Code sample** ```dart Future currentSelection = getCurrentSelection() final...
I am using Glade for the rest of the app as well and I defined my own Glide Module. It seems to be clashing with the one defined by the...
Context: I am using a bottom bar which pops until root when current position is re-selected. My issue is that `popUntilRoot` ignores the `WillPopScope`. As a workaround I already implemented...
## Environment **Package version:** 3.1.1 **Platform:** Android (did not check others) **Device information:** not relevant ## Description Setting badgeAnimation to loop fade `BadgeAnimation.fade(animationDuration: Duration(milliseconds: 2000), loopAnimation: true)`, causes `showBadge` to...
## Breaking Change (1): For private classes, the name of the FromJson changed Take this class for example: ```dart @freezed class _SwapAssetDto with _$_SwapAssetDto { const _SwapAssetDto._(); const factory _SwapAssetDto({...
**Describe the bug** The `.freezed.dart` file generated seems to keep on oscillating between two "versions" when running `dart run build_runner build --delete-conflicting-outputs`. Sometimes I get a result, other times I...
**Describe the bug** `operator ==` is not correct when using dart 3 records containing List (checks reference instead of list content) Test Class: ```dart @freezed class SampleClass with _$SampleClass {...