CNToolbar constructor

const CNToolbar({
  1. Key? key,
  2. List<CNToolbarAction>? leading,
  3. List<CNToolbarAction>? middle,
  4. List<CNToolbarAction>? trailing,
  5. CNToolbarMiddleAlignment middleAlignment = CNToolbarMiddleAlignment.center,
  6. bool transparent = false,
  7. Color? tint,
  8. double? height,
  9. double? pillHeight,
})

Creates a native translucent toolbar.

Implementation

const CNToolbar({
  super.key,
  this.leading,
  this.middle,
  this.trailing,
  this.middleAlignment = CNToolbarMiddleAlignment.center,
  this.transparent = false,
  this.tint,
  this.height,
  this.pillHeight,
}) : searchConfig = null,
     contextIcon = null,
     _isSearchEnabled = false;