ResponsiveInformation constructor
ResponsiveInformation({
- required DeviceScreen deviceScreen,
- required Size screenSize,
- required Size localSize,
- required ScreenBreakpoints currentBreakpoints,
- required Orientation orientation,
Implementation
ResponsiveInformation({
required this.deviceScreen,
required this.screenSize,
required this.localSize,
required this.currentBreakpoints,
required Orientation orientation,
}) : isLandscape = orientation == Orientation.landscape,
isPortrait = orientation == Orientation.portrait;