关于 flutter_boost 报错boost_container.dart:Error:this expression has type 'void' and can't be used

一般都是本地flutter版本太高了,flutter_boost 1.9.1 后适配分支命名都以flutter版本为基准,比如flutter_boost 1.9.1分支对应flutter 1.9.1版本,可以用flutter最新的稳定版1.9.1-hotfix6