You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [versão 10.0.22631.3593], locale pt-BR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc4)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Ferramentas de Build do Visual Studio 2022 17.8.0)
[√] Android Studio (version 2023.1)
[√] Connected device (3 available)
[√] Network resources
• No issues found!
Minimal code example
Code sample
# example/pubspec.yamlname: exampledescription: Example app for flutter_form_builder packagepublish_to: 'none'# Remove this line if you wish to publish to pub.devversion: 1.0.0+1environment:
sdk: '>=3.0.0 <4.0.0'flutter: ">=3.10.0"dependencies:
flutter:
sdk: flutterflutter_form_builder:
path: ../form_builder_validators: ^9.0.0-dev.1flutter_localizations:
sdk: flutterintl: ^0.18.0dev_dependencies:
flutter_lints: ^2.0.1flutter_test:
sdk: flutterflutter:
uses-material-design: true
Current Behavior
Unable to install dependencies from both pubspec.yaml and example/pubspec.yaml because the package intl is pinned to version 0.19.0 by flutter_localizations from the flutter SDK (my version is 3.22) but to version ^0.18.0 by example/pubspec.yaml.
Changing the example/pubspec.yaml to 0.19.0 also does not work because form_builder_validators ^9.0.0-dev.1 also depends on intl ^0.18.0.
Expected Behavior
Successful installation of dependencies for both pubspec.yaml and example/pubspec.yaml.
Steps To Reproduce
Setup the environment to the same as in my flutter doctor
Setup the repository
Try the commands to install dependencies: flutter pub get in the root directory of the project and in example directory.
Aditional information
Possible temporary workarounds:
Update dependencies for form_builder_validators to ^10.0.1 and intl to ^0.19.0 in example/pubspeck.yaml to:
name: exampledescription: Example app for flutter_form_builder packagepublish_to: 'none'# Remove this line if you wish to publish to pub.devversion: 1.0.0+1environment:
sdk: '>=3.0.0 <4.0.0'flutter: ">=3.10.0"dependencies:
flutter:
sdk: flutterflutter_form_builder:
path: ../form_builder_validators: ^10.0.1flutter_localizations:
sdk: flutterintl: ^0.19.0dev_dependencies:
flutter_lints: ^2.0.1flutter_test:
sdk: flutterflutter:
uses-material-design: true
Add dependency overrides field for intl ^0.19.0:
name: exampledescription: Example app for flutter_form_builder packagepublish_to: 'none'# Remove this line if you wish to publish to pub.devversion: 1.0.0+1environment:
sdk: '>=3.0.0 <4.0.0'flutter: ">=3.10.0"dependencies:
flutter:
sdk: flutterflutter_form_builder:
path: ../form_builder_validators: ^9.0.0-dev.1flutter_localizations:
sdk: flutterintl: ^0.18.0dev_dependencies:
flutter_lints: ^2.0.1flutter_test:
sdk: flutterdependency_overrides:
intl: ^0.19.0flutter:
uses-material-design: true
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Package/Plugin version
9.2.1
Platforms
Flutter doctor
Flutter doctor
Minimal code example
Code sample
Current Behavior
Unable to install dependencies from both pubspec.yaml and example/pubspec.yaml because the package intl is pinned to version 0.19.0 by flutter_localizations from the flutter SDK (my version is 3.22) but to version ^0.18.0 by example/pubspec.yaml.
Changing the example/pubspec.yaml to 0.19.0 also does not work because form_builder_validators ^9.0.0-dev.1 also depends on intl ^0.18.0.
Expected Behavior
Successful installation of dependencies for both pubspec.yaml and example/pubspec.yaml.
Steps To Reproduce
flutter doctor
flutter pub get
in the root directory of the project and inexample
directory.Aditional information
Possible temporary workarounds:
The text was updated successfully, but these errors were encountered: