SizeScreen class
Constructors
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
-
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 Methods
-
fracHeight(
BuildContext context, double divisor) → double - Retorna fração da altura total divisor vai de 0 à 1
-
fracWidth(
BuildContext context, double divisor) → double - Retorna fração da largura total. divisor vai de 0 à 1
-
maxHeight(
BuildContext context) → double - Retorna altura total
-
maxWidth(
BuildContext context) → double - Retorna largura total
-
perHeight(
BuildContext context, int percentage) → double - Retorna percentual da altura total. percentage vai de 0 à 100
-
perWidth(
BuildContext context, int percentage) → double - Retorna percentual da largura total. percentage vai de 0 à 100