Widget _buildSwitchWithColor(BuildContext context) { return _buildItem( context, const TDSwitch(isOn: true, trackOnColor: Colors.green), title: '自定义颜色开关', ); }