flutter_device_preview
flutter_device_preview copied to clipboard
Version Conflict Between device_preview and intl
when i try to add flutter_device_preview show this
The current Dart SDK version is 3.6.1.
Because device_preview <0.7.0 doesn't support null safety and device_preview >=0.7.0 depends on flutter_localizations from sdk, every version of device_preview requires flutter_localizations from sdk.
And because every version of flutter_localizations from sdk depends on intl 0.19.0, every version of device_preview requires intl 0.19.0.
So, because ramadan_planner depends on both intl ^0.20.1 and device_preview any, version solving failed.
The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0 or higher to enable null safety. For details, see https://dart.dev/null-safety Failed to update packages.