我是颤振新手,收到错误未定义名称“颜色”。使用颜色时。在 TextStyle 类中
Widget nameCode() => Expanded( flex: 1, child: Center( child: Text( 'GAIN', style: TextStyle( color: Colors.blue), ), ), );
colors dart flutter
colors ×1
dart ×1
flutter ×1