buttonPadding property
Rounded buttons need a bit more horizontal padding to accommodate for the rounding.
Applies to TextButton, ElevatedButton and OutlinedButton.
Defaults to kButtonPadding
.
Implementation
final EdgeInsetsGeometry buttonPadding;