responsiveValue<T> method

T responsiveValue<T>({
  1. T? xs,
  2. T? sm,
  3. T? md,
  4. T? lg,
  5. T? xl,
  6. T? xxl,
  7. required T fallback,
})

Get responsive value directly from context

Implementation

T responsiveValue<T>({
  T? xs,
  T? sm,
  T? md,
  T? lg,
  T? xl,
  T? xxl,
  required T fallback,
}) {
  return responsive.value(
    xs: xs,
    sm: sm,
    md: md,
    lg: lg,
    xl: xl,
    xxl: xxl,
    fallback: fallback,
  );
}