getValueForType method

  1. @Deprecated('Use better named global function getValueForScreenType')
T getValueForType({
  1. required BuildContext context,
  2. required T mobile,
  3. T? tablet,
  4. T? desktop,
  5. T? watch,
})

Implementation

@Deprecated('Use better named global function getValueForScreenType')
T getValueForType({
  required BuildContext context,
  required T mobile,
  T? tablet,
  T? desktop,
  T? watch,
}) {
  return getValueForScreenType(
    context: context,
    mobile: mobile,
    tablet: tablet,
    desktop: desktop,
    watch: watch,
  );
}