responsiveValue<T> method
T?
responsiveValue<T>({
- T? mobile,
- T? tablet,
- T? desktop,
- T? watch,
Returns a value based on the current screen type.
Implementation
T? responsiveValue<T>({T? mobile, T? tablet, T? desktop, T? watch}) {
return responsiveValueOf(
context,
mobile: mobile,
tablet: tablet,
desktop: desktop,
watch: watch,
);
}