Hi @Shubhreet , I can see your map and app now.
After investigating the legend issue, we determined that it was caused by a limitation within the print API in combination with a bug in Experience Builder.
Refer to Print API Reference, when layers utilize effects, the print task will create a client-side image, and the print API does not currently support printing legend items for layers that are rendered as client-side images. You can try printing the same map in the Map Viewer and compare the results. When using the print tool in Map Viewer, you should find that only the "Boundary" layer is included in the generated legend.
In future releases of Experience Builder, any layers rendered as client-side images by the print task due to effects will no longer be sent to the print task. This will make Experience Builder's print behavior consistent with how it currently works in Map Viewer.
For your case, a workaround would be to disable the layer effects.
Hope it helps,
Shengdi