responsiveValue method
double
responsiveValue(
{ - required double forUnInitialDevices,
- double? forPortraitMobileScreen,
- double? forLandscapeMobileScreen,
- double? forPortraitTabletScreen,
- double? forLandscapeTabletScreen,
- double? forDesktopScreen,
- double? forTVScreen,
})
Implementation
double responsiveValue(
{required double forUnInitialDevices,
double? forPortraitMobileScreen,
double? forLandscapeMobileScreen,
double? forPortraitTabletScreen,
double? forLandscapeTabletScreen,
double? forDesktopScreen,
double? forTVScreen}) {
return _responsiveHandler.responsiveLength(
_responsiveHandler._size.shortestSide,
_responsiveHandler._size.shortestSide,
forPortraitMobileScreen ?? forUnInitialDevices,
forLandscapeMobileScreen ?? forUnInitialDevices,
forPortraitTabletScreen ?? forUnInitialDevices,
forLandscapeTabletScreen ?? forUnInitialDevices,
forDesktopScreen ?? forUnInitialDevices,
forTVScreen ?? forUnInitialDevices);
}