ToolbarItem constructor

const ToolbarItem({
  1. Key? key,
  2. required dynamic icon,
  3. VoidCallback? onPressedButton,
  4. String? tooltip,
  5. bool isExpandable = false,
  6. List? items,
})

Implementation

const ToolbarItem({
  Key? key,
  required this.icon,
  this.onPressedButton,
  this.tooltip,
  this.isExpandable = false,
  this.items,
}) : super(key: key);