📜  颤振复选框前导 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:04.703000             🧑  作者: Mango

代码示例1
bool isChecked = false;
CheckboxListTile(
            title: Text('CheckboxTitle'),
            controlAffinity: ListTileControlAffinity.leading,  
            value: isChecked,
            onChanged: (v) {
              setState(() {
                isChecked = v!;
              });
            },
          ),