公司项目要求升级到2.5.1,
cd 到 flutter sdk的目录,
执行git fetch --all --tags --progress或者git fetch --all --tags --progress -f -P,发现2.5.1
执行git checkout 2.5.1
执行flutter channel stable切换channel到stable
执行flutter upgrade
结束后执行flutter doctor查看已经是2.5.1
注意:2.5.1要求iOS支持iOS9以上