CSSPositionedLayout class
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
-
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
-
applyPositionedChildOffset(
RenderBoxModel parent, RenderBoxModel child) → void -
applyRelativeOffset(
Offset? relativeOffset, RenderBox renderBox) → void -
applyStickyChildOffset(
RenderBoxModel scrollContainer, RenderBoxModel child) → void - Set sticky child offset according to scroll offset and direction, when axisDirection param is null compute the both axis direction. Sticky positioning is similar to relative positioning except the offsets are automatically calculated in reference to the nearest scrollport. https://www.w3.org/TR/css-position-3/#stickypos-insets
-
getPositionParentData(
RenderBoxModel renderBoxModel, RenderLayoutParentData parentData) → RenderLayoutParentData -
getRelativeOffset(
RenderStyle renderStyle) → Offset? -
isSticky(
RenderBoxModel child) → bool -
layoutPositionedChild(
RenderBoxModel parent, RenderBoxModel child, {bool needsRelayout = false}) → void