label property

String? label
final

Optional semantic label.

On passive GlassBarItem.custom items, a non-empty label names the slot as a single semantic node (replacing the child's own text semantics); leave it null when the child provides its own semantics.

Implementation

final String? label;