Position.absolute constructor

const Position.absolute({
  1. Unit? top,
  2. Unit? left,
  3. Unit? bottom,
  4. Unit? right,
})

The element is removed from the normal document flow, and no space is created for the element in the page layout. The element is positioned relative to its closest positioned ancestor (if any) or to the initial containing block. Its final position is determined by the values of top, right, bottom, and left.

Implementation

const factory Position.absolute({Unit? top, Unit? left, Unit? bottom, Unit? right}) = _Positioned.absolute;