Current case:
getValueForScreenType<Widget>(context: context, desktop: myWidget, mobile: anotherWidget, tablet: anotherWidget, watch: anotherWidget);
It could be improved with a parameter assigning a default value for other screen types being null , example:
getValueForScreenType<Widget>(context: context, desktop: myWidget, byDefault: anotherWidget);