kButtonPadding top-level constant

EdgeInsetsGeometry const kButtonPadding

Default padding on legacy buttons.

This padding is used on ButtonThemeData for legacy RaisedButton, OutlineButton and FlatButton making the look like the default padding used on TextButton, ElevatedButton and OutlinedButton whe style with styleFrom.

Implementation

const EdgeInsetsGeometry kButtonPadding = EdgeInsets.symmetric(horizontal: 16);