Plague Fox
Plague Fox
Right now package export ``` class MultiBlocListener extends MultiProvider { MultiBlocListener({ required List listeners, ... }); } ``` but doesn't expose `BlocListenerSingleChildWidget` interface
Add [callback inside BLoC](https://github.com/felangel/bloc/blob/master/packages/bloc/lib/src/bloc.dart#L216) for BlocObserver: ```dart void onDone(Bloc bloc, Object? event, Object? error, StackTrace? stackTrace) ``` or rename `onEvent` to `onEventStarted` and add `onEventFinished` `onDone` event must be always...
You must stop losing the original source stack trace like this (just for example): https://github.com/felangel/bloc/blob/a3a9b2dba6546480d4ea26931ed024f274b9a7a9/examples/flutter_firebase_login/packages/authentication_repository/lib/src/authentication_repository.dart#L206-L210 it's big trouble, to read exceptions without source stacktraces, especially in crashlytics or sentry like...
Prohibiting the use of recursions, including tail recursions. Because dart [lack off support tail call optimisation](https://github.com/dart-lang/language/issues/1159) and you can obtain `Maximum call stack size exceededError`. And after that recursion is...
Avoid forming and after that returning lists in loops. Because double memory consumption with more reduant code. With iterable result you can transform it to Stream For example, to avoid...
Avoiding List in public function signature as return type, since this does not make sense and complicates further interaction. [X] Suggests an alternate way of doing something (suggestion) **BAD:** ```dart...
Хотелось бы знать, минимальные системные требования на которых тестировалось: 1. Пустая или самописная конфигурация на 1-3 клиента 2. Конфигурация уровня ЗУП или БП на 5-10 клиентов 3. Конфигурация уровня КА2...
Добавить `build` в docker-compose.yml
Типа такого надо добавить ```yaml healthcheck: test: curl --fail -s http://127.0.0.1:8080/health || exit 1 interval: 30s timeout: 15s retries: 3 ``` Можно в образы даже типа таких скриптов добавить https://github.com/docker-library/healthcheck...
Create online web sample at github pages or firebase