ScreenSize constructor
const
ScreenSize({
- required LayoutSize size,
- MobileLayoutSize? mobile,
- TabletLayoutSize? tablet,
- Orientation? orientation,
Creates an instance of ScreenSize that stores data of LayoutSize, MobileLayoutSize and TabletLayoutSize
Implementation
const ScreenSize({
required this.size,
this.mobile,
this.tablet,
this.orientation,
});