responsiveValue method

double responsiveValue({
  1. required double forUnInitialDevices,
  2. double? forPortraitMobileScreen,
  3. double? forLandscapeMobileScreen,
  4. double? forPortraitTabletScreen,
  5. double? forLandscapeTabletScreen,
  6. double? forDesktopScreen,
  7. 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);
}