How can I debug the Error (Xcode): lib/flutter/packages/flutter/lib/src/material/animated_icons.dart:18:6: Error: The language version override has to be the same in the library and its part(s).
error that I encountered when trying to run my Flutter app? Despite upgrading all dependencies and ensuring that ‘flutter doctor’ returns no issues, the error persists. Are there any additional steps or strategies I can take to diagnose and resolve this issue?
content of the pubspec.yaml is as given:
name: app_name
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=3.0.0"
dependencies:
flutter:
sdk: flutter
camera:
path_provider:
path:
multi_select_flutter:
http:
local_auth:
country_picker: ^2.0.15
flutter_multi_select_items:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
intl: ^0.18.0
provider: ^6.0.3
shrine_images: ^2.0.1
image_picker: ^1.0.4
image_cropper: ^4.0.0
syncfusion_flutter_datepicker: ^24.2.4
firebase_core: ^2.8.0
firebase_auth: ^4.2.2
firebase_storage: ^11.2.6
google_sign_in: ^6.0.2
flutter_facebook_auth: ^6.0.4
uuid: ^4.0.0
flutter_typeahead: ^5.1.0
autocomplete_textfield: ^2.0.1
json_annotation: ^4.6.0
csc_picker: ^0.2.6
country_state_city_picker: ^1.2.8
country_state_city_pro: ^0.0.3
flutter_svg: ^2.0.7
cached_network_image: ^3.2.1
sqflite: ^2.0.3+1
location: ^5.0.3
floating_bottom_navigation_bar: ^1.5.2
google_fonts: ^4.0.4
google_place: ^0.4.7
package_info_plus: ^5.0.1
cloud_firestore: ^4.9.1
flutter_signin_button: ^2.0.0
flutter_staggered_grid_view: ^0.7.0
transparent_image: ^2.0.1
image_collage: ^0.0.4
like_button: ^2.0.5
lazy_load_scrollview: 1.3.0
flutter_bloc: ^8.1.3
equatable: ^2.0.5
flutter_secure_storage_web: ^1.1.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.1
build_runner:
json_serializable:
# The following section is specific to Flutter packages.
flutter:
assets:
- assets/logo/logo-placeholder.svg
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true