The link to sample code doesn't work: https://developer.apple.com/documentation/widgetkit/building_widgets_using_widgetkit_and_swiftui
I tried going to WidgetKit Page at https://developer.apple.com/documentation/widgetkit and following the link from there does not work either.
I tried going to WidgetKit Page at https://developer.apple.com/documentation/widgetkit and following the link from there does not work either.