NavigationToolbar constructor

const NavigationToolbar({
  1. Key? key,
  2. Widget? leading,
  3. Widget? middle,
  4. Widget? trailing,
  5. bool centerMiddle = true,
  6. double middleSpacing = kMiddleSpacing,
})

Creates a widget that lays out its children in a manner suitable for a toolbar.

Implementation

const NavigationToolbar({
  super.key,
  this.leading,
  this.middle,
  this.trailing,
  this.centerMiddle = true,
  this.middleSpacing = kMiddleSpacing,
});