ResponsiveConfig class

Class to initialize calculation for responsiveness must be called when the app is started

Constructors

ResponsiveConfig({int? designScreenWidth, int? designScreenHeight})

Properties

designScreenHeight int?
the value of screen height which is provided by designer
getter/setter pair
designScreenWidth int?
the value of screen width which is provided by designer
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init(BoxConstraints constraints, Orientation orientation) → void
the method to initialize SizeConfig for responsive calculation
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

Static Properties

heightMultiplier double?
value to initialize height values
getter/setter pair
imageSizeMultiplier double?
value to initialize image sizes
getter/setter pair
isMobilePortrait bool
value to get information about portrait in in mobile or not
getter/setter pair
isPortrait bool
value to get information about orientation
getter/setter pair
textMultiplier double?
value to initialize fontSize
getter/setter pair
widthMultiplier double?
value to initialize width values
getter/setter pair