actionOverflowThreshold property

double? actionOverflowThreshold
final

(optional) The percentage threshold for action widget's width before it overflows to a new line.

Must be between 0 and 1. If the width of the action divided by the total snackbar width is greater than this percentage, the action will appear below the content.

At a value of 0, the action will always overflow to a new line.

Defaults to 0.25.

Implementation

final double? actionOverflowThreshold;