hasLabel property

bool get hasLabel

of selected to value if is provided.

Implementation

bool get hasLabel => label != null;