toggle method

void toggle(
  1. String id,
  2. bool check
)

选中某一个选项

Implementation

void toggle(String id, bool check) {
  _state?.toggle(id, check, true);
}