As I transition my WAB apps to Experience Builder I'm wondering if there is a layer toggle widget? In my WAB app I had a layer toggle button widget swapped between layer chosen, essentially turning the layers currently on to off and the off layers to on.
Any help would be appreciated.
In ArcGIS Online, your best option would be to Group your layers and turn on Exclusive Visibility.
In Developer Edition, you would have many more options, as there are a number of publicly available Widgets for switching layers.
https://github.com/pucuz/Experience-Builder-Radio-Layers-Widget
Here are a few Widgets that could work depending on your exact needs.