CNToolbar constructor

const CNToolbar({
  1. Key? key,
  2. required List<CNToolbarItem> items,
  3. String? title,
  4. String? subtitle,
  5. bool showsTitle = true,
  6. CNToolbarStyle style = CNToolbarStyle.unified,
  7. Color? tint,
  8. bool autoHideOnModal = true,
})

Creates a toolbar.

Implementation

const CNToolbar({
  super.key,
  required this.items,
  this.title,
  this.subtitle,
  this.showsTitle = true,
  this.style = CNToolbarStyle.unified,
  this.tint,
  this.autoHideOnModal = true,
});