ScreenSize class
ScreenSize stores data of LayoutSize, MobileLayoutSize and TabletLayoutSize
Constructors
- ScreenSize({required LayoutSize size, MobileLayoutSize? mobile, TabletLayoutSize? tablet, Orientation? orientation})
-
Creates an instance of ScreenSize that stores data of LayoutSize, MobileLayoutSize and TabletLayoutSize
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mobile → MobileLayoutSize?
-
mobile defines mobile screen type
final
- orientation → Orientation?
-
orientation defines screen orientation
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → LayoutSize
-
size is used for storing general screen type
final
- tablet → TabletLayoutSize?
-
tablet defines mobile screen type
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