ResponsiveInformation constructor

ResponsiveInformation({
  1. required DeviceScreen deviceScreen,
  2. required Size screenSize,
  3. required Size localSize,
  4. required ScreenBreakpoints currentBreakpoints,
  5. 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;