ScreenSizeSettings class
Holder of max size of different screens
Constructors
- ScreenSizeSettings.landscape({double watch = 220, double smallMobile = 600, double mediumMobile = 720, double largeMobile = 960, double smallTablet = 1024, double largeTablet = 1280})
-
Creates screen size settings for landscape orientation
const
- ScreenSizeSettings.portrait({double watch = 220, double smallMobile = 360, double mediumMobile = 400, double largeMobile = 600, double smallTablet = 720, double largeTablet = 840})
-
Creates screen size settings for portrait orientation
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- largeMobile → double
-
Maximum size of large mobile phone
final
- largeTablet → double
-
Maximum size of large tablet phone
final
- mediumMobile → double
-
Maximum size of middle mobile phone
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smallMobile → double
-
Maximum size of small mobile phone
final
- smallTablet → double
-
Maximum size of small tablet phone
final
- watch → double
-
Maximum size of wristwatch
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