BarButtonStyle constructor Null safety

const BarButtonStyle(
  1. {Color backgroundColor = Colors.transparent,
  2. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 6.0)}
)

Style the menu bar buttons by implementing a custom BarButtonStyle.

Implementation

const BarButtonStyle({
  this.backgroundColor = Colors.transparent,
  this.padding = const EdgeInsets.symmetric(horizontal: 6.0),
});