isChecked property

bool isChecked
final

Whether the button is checked or not.

Defaults to false.

Implementation

final bool isChecked;