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 snackbar's content is greater than this percentage of the width of the snackbar less the width of its action, then the action will appear below the content.

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

Defaults to 0.25.

Implementation

final double? actionOverflowThreshold;