expanded property

bool expanded
final

Whether the button is in expanded state.

When true, the label is visible. When false, only the icon is shown (unless on mobile where labels may still be visible).

Implementation

final bool expanded;