Closed ashishoffice closed 3 years ago
I don't know what you're asking but I'll throw some random facts at you:
getValueForScreenType<T>
to return a different value based on the screen its on.SizedBox(
width: getValueForScreenType<double>(
context: context,
mobile: 30,
tablet: 60,
),
)
The above will return a SizedBox with width 30 on a mobile device and 60 on a tablet sized device.
Can you explain me