ScreenRatioGenerator class

Constructors

ScreenRatioGenerator({required BuildContext context})

Properties

context BuildContext
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parentWidgetPercent({required int percent, required BoxConstraints parentWidgetConstraints}) BoxConstraints
screenHeightPercent({required int percent}) double
screenWidthPercent({required int percent}) double
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited