【发布时间】:2021-03-12 09:26:36
【问题描述】:
我需要更改ExpansionTile 中尾随keyboard_down_arrow 的颜色。我已经尝试将它包装在主题小部件中并设置口音、主要和图标主题,但似乎没有任何效果。
Theme(
data: Theme.of(context).copyWith(
dividerColor: Colors.transparent,
accentColor: Colors.black,
),
child: ExpansionTile(
//
title: Text("Some Text"
),
childrenPadding: EdgeInsets.symmetric(horizontal: 15),
children: [
],
),
),
【问题讨论】:
-
你能分享一些代码吗?
-
查看我编辑的问题