所以我想在我的应用程序上工作,但当我保存时,文档会自动格式化.昨天我没有问题,但现在我有了.我已经通过自动格式化进行了判断,但已关闭.当我打开VS代码时,我收到一条消息,要为默认语言或类似的东西设置dart,也许这就是问题所在?
我想这样做:
theme: ThemeData(
backgroundColor: Colors.white70,
primarySwatch: Colors.blue,
brightness: Brightness.light
),
但我是这样理解的:
theme: ThemeData(
backgroundColor: Colors.white70,
primarySwatch: Colors.blue,
brightness: Brightness.light),