Displaying hidden files and folders (or not)

It seems as if it would be helpful to rapidly switch between displaying and not displaying hidden files and folders. I know how to control files (Go to Settings/Preferences then Folders/Folder Display then check/uncheck Hide hidden files) but I don't know how to place an icon for it on a toolbar or the status bar or to make it a command. Is there a way to do that?

Commands to do that are part of the default toolbars. You can copy or move them to somewhere else if you want.

Thanks, Leo.