selected(selected)

Class: CheckBoxMenuItem.

Description:

Sets or gets boolean indicating whether this component is be selected.

Parameters:

Name Type Description

selected

boolean

true to select, false to deselect.

Returns:

Returns this CheckBoxMenuItem instance if argument is provided, otherwise returns boolean value.

Type: CheckBoxMenuItem | boolean