ScreenAdapter class
Constructors
- ScreenAdapter.new(BuildContext _context)
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
-
calculateCompensation(
double currentRatio, double max) → double -
getAspectRatio(
) → double -
getHeight(
double dp) → double -
getSafeAreaTop(
) → double -
getScaleXRatio(
) → double -
getScreenHeight(
) → double -
getScreenWidth(
) → double -
getWidth(
double dp) → double -
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
Constants
- baseRatio → const double
- designHeight → const double
- designWidth → const double
- maxRation → const double