OffsetPositions constant

List<RelativePosition> const OffsetPositions

A set of RelativePositions that are appropriate for offset-type menus that appear usually offset of one of the four points of the origin (e.g. bottom right, bottom left, top right, top left).

Implementation

static const OffsetPositions = [
  OffsetBottomRight,
  OffsetBottomLeft,
  OffsetTopRight,
  OffsetTopLeft
];