multilineLabel property

bool multilineLabel
final

When true, the label is allowed to wrap onto multiple lines and the button grows vertically to fit the wrapped text. The configured height (or theme buttonHeight) is used as a minimum height instead of a fixed height. The label is wrapped in Flexible so it can shrink to the available width within the button's row.

Implementation

final bool multilineLabel;