PopupSizeProvider class abstract
A handler that provides max width and max height of a popup based on its position and the current viewport size.
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
-
getMaxHeight(
num positionY, num viewportHeight) → num? - The max height.
-
getMaxWidth(
num positionX, num viewportWidth) → num? - The max width.
-
getMinHeight(
num positionY, num viewportHeight) → num? - The min height.
-
getMinWidth(
num positionX, num viewportWidth) → num? - The min width.
-
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