【发布时间】:2020-10-27 14:23:00
【问题描述】:
我想使用 backgroundColor:Colors.#34A123 对我的颤振应用程序使用六色代码。但我只能获取颤振默认值
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('CRICKDOM MOBILE'),
backgroundColor: Colors.blue,
leading:IconButton(
icon: Icon(
Icons.menu
),
onPressed: (){},
),
],
);
}
}
``
【问题讨论】:
-
背景颜色:颜色。#A231B3,无效
标签: flutter