SizeConfig class

A class defined to get dimensions for the screen size displayed, using the proportion of the designed screen size.

Constructors

SizeConfig()
factory

Properties

blockSizeHorizontal double
getter/setter pair
blockSizeVertical double
getter/setter pair
deviceTextFactor double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
profileDrawerWidth double?
getter/setter pair
refHeight double
getter/setter pair
refWidth double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeBlockHorizontal double
getter/setter pair
safeBlockVertical double
getter/setter pair
screenHeight double
getter/setter pair
screenWidth double
getter/setter pair
textFactor double
getter/setter pair

Methods

getFontRatio(double val) double
getHeightRatio(double val) double
getWidthRatio(double val) double
init(BuildContext context) → void
isDesktop(BuildContext context) bool
isMobile(BuildContext context) bool
isTablet(BuildContext context) bool
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