I construct my widget with a programmatically generated UIImage in getTimeline.
So I need to know in getTimeline if the iOS theme is either Light or Dark.
I know how to do that in a ViewController with traitCollection.userInterfaceStyle == .dark, but how can I do it in a Widget?