What is pubspec_overrides.yaml and when should I use it in a Flutter monorepo?
pubspec_overrides.yaml is a file next to pubspec.yaml that pub reads on top of it, limited to dependency_overrides, resolution and workspace. It replaces the whole dependency_overrides section, applies workspace-wide, and is left out of published archives. What it does, when to use it in a monorepo, and every edge case, verified on Dart 3.12.2.