NiceToolbarItem constructor

const NiceToolbarItem({
  1. required String id,
  2. required IconData icon,
  3. String? label,
  4. String? tooltip,
  5. bool enabled = true,
  6. bool selected = false,
  7. NiceToolbarItemType type = NiceToolbarItemType.button,
})

Implementation

const NiceToolbarItem({
  required this.id,
  required this.icon,
  this.label,
  this.tooltip,
  this.enabled = true,
  this.selected = false,
  this.type = NiceToolbarItemType.button,
});