checked property

bool get checked

Implementation

bool get checked => _checked;
  1. @Input()
set checked (bool value)

Current state of the toggle button.

true is ON and false is OFF.

Implementation

@Input()
set checked(bool value) {
  _checked = value;
  _syncAriaPressed();
}