buildToolBarWidget method

  1. @override
Widget buildToolBarWidget(
  1. BuildContext context
)
override

Build widget for the toolbar

Implementation

@override
Widget buildToolBarWidget(BuildContext context) {
  return IconButton(
    icon: icon ?? Icon(iconData),
    tooltip: toolTip,
    onPressed:
        enabled && onPressed != null ? () => onPressed!(context) : null,
  );
}