BarButtonStyle constructor Null safety
- {Color backgroundColor = Colors.transparent,
- 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),
});