ToolbarItem constructor

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

Implementation

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