如果说大伙伴们想在Flutter中使用extension-methods(扩展方法),有如下步骤:
1:修改 pubspec.yaml
environment:
sdk: ">=2.6.0 <3.0.0"
2:Pub get
3: 最重要的一步:重启Android studio。这一步非常重要。真的。
如果说大伙伴们想在Flutter中使用extension-methods(扩展方法),有如下步骤:
1:修改 pubspec.yaml
environment:
sdk: ">=2.6.0 <3.0.0"
2:Pub get
3: 最重要的一步:重启Android studio。这一步非常重要。真的。
本文标题:This requires the 'extension-met
本文链接:https://www.haomeiwen.com/subject/gvnbtktx.html
网友评论