ZIndex constructor

const ZIndex(
  1. int value
)

This value is the stack level of the generated box in the current stacking context. The box also establishes a local stacking context. This means that the z-indexes of descendants are not compared to the z-indexes of elements outside this element.

Implementation

const factory ZIndex(int value) = _ZIndex;