maRci002

Results 79 comments of maRci002

> ```dart > Future load() async { > emit(MyState.loading); > await cancelable(() => Future.delayed(const Duration(seconds: 3))); > emit(MyState.idle); > } > ``` If this or similar will be the implementation:...

I have another situation which might benefit from cancel token so it's related to this issue when defining behaviors: ```dart class TestEvent { final String id; TestEvent(this.id); } abstract class...

@narcodico thanks it looks promising, I will take a look. Only problem Cubits doesn't benefit from this.

If developers wants to decide to ignore `StateError` or not then they should config it by globally per `bloc/cubit` #3042 and/or handle it locally by `emit(state, ignoreStateError: true)` / `safeEmit(state)`...

@blaugold please confider adding a flag / config to disable IntelliJ IDE spcific files.

> The problem now is that I can't event see the traffic when proxying If you can't see the traffic it means your client detected invalid certificates and just droped...

If you are familiar with [Decorator pattern](https://en.wikipedia.org/wiki/Decorator_pattern) you can simply do your own interceptors like this: ```dart import 'dart:async'; import 'package:http/http.dart' as http; typedef GetAccessToken = Future Function(); class AuthClient...

https://github.com/NickstaDB/patch-apk/blob/24c64576afaedca7b10846d132a7d1ecd5b632b1/patch-apk.py#L317 I changed this line to `elif 1 == 1:` and works like a charm

> the ElevatedButton will be clickable which can happen since flutter animates the screens in and out This might not be true: flutter/flutter#4770 However `ElevatedButton` will be showed as enabled...

I have binded both undo to CTRL + Z and both redo to CTRL + Y and works fine, however when I start HeidiSQL then console outputs: > /* Could...