getCurrentWidthSizeClass

Method to get the current screen dimension of the device where the application is running

Return

the width size class based on the current dimension of the screen as WindowWidthSizeClass