selected property

bool selected
final

Whether to render icons and text in the activeColor.

No effort is made to automatically coordinate the selected state and the value state. To have the list tile appear selected when the switch is on, pass the same value to both.

Normally, this property is left to its default value, false.

Implementation

final bool selected;