Sizing class
Constructors
- Sizing()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
differentFactor(
num size, [double factor = 0.5]) → double -
fontScale(
num size) → double -
fontSmartScale(
num size) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scale(
num size) → double -
screenHeight(
num size) → double -
screenWidth(
num size) → double -
selfFontScale(
num size, {bool allow = false}) → double -
smartScale(
num size) → double -
toString(
) → String -
A string representation of this object.
inherited
-
verticalScale(
num size) → double
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
BoxConstraints constraints, {bool systemFontScale = false, Size baseSize = _defaultScreenSize}) → void