getWebResponsiveSize static method
dynamic
getWebResponsiveSize({
- dynamic smallSize,
- dynamic mediumSize,
- dynamic largeSize,
Implementation
static getWebResponsiveSize({smallSize, mediumSize, largeSize}) {
return width < 600
? smallSize //'phone'
: width >= 600 && width <= 1024
? mediumSize //'tablet'
: largeSize; //'desktop';
}