selected property

bool selected
final

Whether the item is selected. Users can specify if an item is selected when initializing a DropdownController; otherwise, they can only select an item by calling DropdownController.select manually.

Implementation

final bool selected;