CNToolbar constructor
const
CNToolbar({
- Key? key,
- List<
CNToolbarAction> ? leading, - List<
CNToolbarAction> ? middle, - List<
CNToolbarAction> ? trailing, - CNToolbarMiddleAlignment middleAlignment = CNToolbarMiddleAlignment.center,
- bool transparent = false,
- Color? tint,
- double? height,
- 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;