BAI had the same problem earlier, and I solved it by adding the dependency that caused the error under dependency_overrides in pubspec.yaml. dependency_overrides: intl: ^0.18.0Comment·Article·Nov 26, 2023·How to fix: Because ... depends on ... which depends on ..., ... is required