GitHub

    Table of contents

  1. 示例
  2. 相关链接

Checkbox

Edit this page

A material design checkbox.

示例

bool _value = true;

Checkbox(
  value: _value,
  onChanged: (bool newValue) {
    setState(() {
      _value = newValue;
    });
  },
)

相关链接