buttonPadding property

double get buttonPadding

Calculates the padding for the action button within the snack bar.

Implementation

double get buttonPadding {
  final double result = widget.padding.right - 12;
  return result < 0 ? 4 : result;
}