buttonPadding property Null safety
final
Overrides the surrounding ButtonThemeData.padding to define the padding for a button's child (typically the button's label).
If null then it will use the surrounding ButtonBarThemeData.buttonPadding. If that is null, it will default to 8.0 logical pixels on the left and right.
Implementation
final EdgeInsetsGeometry? buttonPadding;