Percent class

Constructors

Percent()

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

borderHorizontalPosition({required double ratio, required double widthParent}) double
put horizontal this border widget in the parent ratio the percentage of the parent widthParent size of parent just put width it
borderVerticalPosition({required double ratio, required double heightParent}) double
put Vertical this border widget in the parent ratio the percentage of the parent heightParent size of parent just put height it
widgetHorizontalPosition({required double ratio, required double widthChild, required double widthParent}) double
put horizontal this widget in the parent of real percentage ratio the percentage of the parent widthParent size of parent just put width it widthChild size of child just put width it
widgetVerticalPosition({required double ratio, required double heightChild, required double heightParent}) double
put vertical this widget in the parent of real percentage ratio the percentage of the parent heightParent size of parent just put height it heightChild size of child just put height it