selectedRequestsFocus property

bool selectedRequestsFocus
final

Set to true, if an indicator should request focus if it is selected.

The indicator will always request focus when it clicked and selected. Setting this value to true is to make it request focus when it is drawn, but only if its value has just changed so that its isSelected is now true and if this flag is true. The extra flag gives us a mechanism to control if the box should focus when isSelected is changed to true.

Defaults to false.

Implementation

final bool selectedRequestsFocus;