button method
Implementation
IconButton button(String commandName) {
var command = getCommand(commandName);
return IconButton(
tooltip: command.label ?? command.name,
icon: Icon(command.icon),
onPressed: command.enabled ? () {
command.execute();
} : null,
);
}