美文网首页
CheckboxListTile

CheckboxListTile

作者: 不二客 | 来源:发表于2020-08-17 09:49 被阅读0次

CheckboxListTile

 const CheckboxListTile({
    Key key,
    @required this.value, // 是否选中此复选框。
    @required this.onChanged,  // ValueChanged<bool> 状态改变时 回调
    this.activeColor,,//选中时的背景颜色
    this.checkColor,  //选中时对号的颜色
    this.title, // 标题widget 
    this.subtitle, //副标题widget
    this.isThreeLine = false, //
    this.dense,
    this.secondary,
    this.selected = false,
    this.controlAffinity = ListTileControlAffinity.platform, //选择框对于文本的位置   leading(主要的)  trailing(尾随)  platform
  })

相关文章

网友评论

      本文标题:CheckboxListTile

      本文链接:https://www.haomeiwen.com/subject/psghlktx.html