SliverConstraints
struct SliverConstraintsimport SliverConstraints from Wax;Inputs to a sliver layout, in logical points along the scrolling and cross axes. Sliver and box layouts use separate protocols.
Members
scrollOffsetfield
public float scrollOffsetThe amount scrolled past the start along the main axis.
remainingExtentfield
public float remainingExtentThe remaining extent available for painting along the main axis.
crossAxisExtentfield
public float crossAxisExtentThe available extent perpendicular to scrolling.
constructorconstructor
public constructor (float scrollOffset, float remainingExtent, float crossAxisExtent)Stores the supplied sliver constraints.
ToStringmethod
public fn ToString() : stringProvided by the compiler.
ToStringBuffermethod
public fn ToStringBuffer(StringBuilder builder) : int32Provided by the compiler.