I’m running Plasma 6. But even back in v5 you could click and hold on the widget and it’ll pop up a bar on the side. One is a small letter “a”. If you click that it turns the background on and off.
Also, I don’t think all of the widgets have it. If the battery widget doesn’t have it then I guess you did what you had to do.