AdaptableScreenUtils class

Constructors

AdaptableScreenUtils()
factory

Properties

factorTextScale double
no setter
factorTextScaleRealwindow double
Represents the actual window scaling factor.
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
Height of the main window that this link is linked to.
no setter
heightBottomBar double
The offset from the bottom.
no setter
heightStatusBar double
The offset from the top
no setter
lengthMax double
Maximum window Height and Width Sizes
no setter
lengthMin double
Minimum window Height and Width Sizes
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleHeiht double
The ratio of the actual dp to the design draft px
no setter
scaleWidth double
The ratio of the actual dp to the design draft px
no setter
textScale double
text scaled based on width.
no setter
width double
Width of the main window that this link is linked to.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
radius(double radius) double
Scales radius based on minimum window sizes
setFont(double fontSize, {bool autoScale = false}) double
Adjusting font according to the scaling factor, the scaling can be dynamic or fixed.
steppedHeight(double height) double
Scaled height based on window size.
steppedWidth(double width) double
Scaled width based on window size.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

init({double? heightUIDisign, double? widthUIDisign}) → void