Anchor class abstract

The logic of layout and positioning of a follower element in relation to a target element.

This is independent of the underlying rendering implementation.

Inheritance
Implementers

Constructors

Anchor()
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

getFollowerConstraints({required Size targetSize, required BoxConstraints theaterConstraints}) BoxConstraints
Returns the layout constraints that are given to the follower element.
getFollowerOffset({required Size followerSize, required Size targetSize, required Rect theaterRect}) Offset
Returns the offset at which to position the follower element in relation to the top left of the targetSize.
inherited
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