ScreenInfo class

Represents information about the screen.

Contains the screen dimensions and orientation.

Constructors

ScreenInfo({required double width, required double height, required Orientation orientation, required double mobilePortraitBreakpoint, required double mobileLandscapeBreakpoint, required double tabletLandscapeBreakpoint})
Constructs a ScreenInfo instance with the given parameters.

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
final
mobileLandscapeBreakpoint double
final
mobilePortraitBreakpoint double
final
orientation Orientation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabletLandscapeBreakpoint double
final
width double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited