PercentagePopupSizeProvider class

A popup size provider that determines the popup size based on a fixed percentage of the current viewport size.

Implemented types

Constructors

PercentagePopupSizeProvider([num? maxWidthPercentage, num? maxHeightPercentage, num? minWidthPercentage, num? minHeightPercentage])
const

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

getMaxHeight(num _, num viewportHeight) num
The max height.
override
getMaxWidth(num _, num viewportWidth) num
The max width.
override
getMinHeight(num positionY, num viewportHeight) num?
The min height.
override
getMinWidth(num positionX, num viewportWidth) num?
The min width.
override
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