luhenchang/flutter_study

关于依赖包需要的dart低版本问题

Opened this issue · 3 comments

有多个依赖包需要低版本的dart,这个怎么进行处理
Because flutter_app depends on intl 0.15.6 which requires SDK version >=1.24.0 <2.0.0, version solving failed.

我也遇到了这个问题,怎么解决呢

我也遇到了

修改依赖为以下版本号即可

cupertino_icons: ^0.1.0
english_words: ^3.1.0
http: ^0.11.3+16
image_picker: "^0.4.5"
shared_preferences: "^0.4.2"
transparent_image: "^0.1.0"
flutter_swiper : "^1.0.2"
charts_flutter: "^0.5.0"
path_provider: "^0.4.1"
cached_network_image: "0.4.1"
sqflite: "^0.11.0+1"
pull_to_refresh: "^1.1.5"
video_player: "0.6.1"
collection: 1.14.11
device_info: 0.2.1
intl: 0.15.7
connectivity: 0.3.1
fluttertoast: ^2.0.7
shimmer: ^0.0.4
flutter_staggered_grid_view: ^0.2.7