Tha*_*iri 2 colors dart flutter
我是颤振新手,收到错误未定义名称“颜色”。使用颜色时。在 TextStyle 类中
Widget nameCode() => Expanded(
flex: 1,
child: Center(
child: Text(
'GAIN',
style: TextStyle(
color: Colors.blue),
),
),
);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2215 次 |
| 最近记录: |