mangayomi-mirror/lib
NBA2K1 34f0be6d9a Update router.dart
Fix exception when using "Select Widget Mode" of the Flutter Inspector:

```
Exception has occurred.
FlutterError (Tried to modify a provider while the widget tree was building.
If you are encountering this error, chances are you tried to modify a provider
in a widget life-cycle, such as but not limited to:
- build
- initState
- dispose
- didUpdateWidget
- didChangeDependencies

Modifying a provider inside those life-cycles is not allowed, as it could
lead to an inconsistent UI state. For example, two widgets could listen to the
same provider, but incorrectly receive different states.

To fix this problem, you have one of two solutions:
- (preferred) Move the logic for modifying your provider outside of a widget
  life-cycle. For example, maybe you could update your provider inside a button's
  onPressed instead.

- Delay your modification, such as by encapsulating the modification
  in a `Future(() {...})`.
  This will perform your update after the widget tree is done building.)
```
2025-05-31 17:43:59 +02:00
..
eval dart format 2025-05-30 17:43:42 +01:00
ffi dart format 2025-05-30 17:43:42 +01:00
l10n feat(reader): implement chapter transition view 2025-05-27 17:30:31 +01:00
models dart format 2025-05-30 17:43:42 +01:00
modules Update edit_code.dart 2025-05-31 16:35:35 +02:00
providers dart format 2025-05-30 17:43:42 +01:00
router Update router.dart 2025-05-31 17:43:59 +02:00
services dart format 2025-05-30 17:43:42 +01:00
src/rust dart format 2025-05-30 17:43:42 +01:00
utils dart format 2025-05-30 17:43:42 +01:00
main.dart dart format 2025-05-30 17:43:42 +01:00