selected property

bool get selected

Sets or retrieves whether the option in the list box is the default item.

MDN Reference

Implementation

_i2.bool get selected => _i4.getProperty(
      this,
      'selected',
    );
set selected (bool value)

Implementation

set selected(_i2.bool value) {
  _i4.setProperty(
    this,
    'selected',
    value,
  );
}