CustomPosition.topRight constructor

const CustomPosition.topRight({
  1. double topOffset = 0,
  2. double rightOffset = 0,
})

Create a position anchored to the top-right with offsets

Implementation

const CustomPosition.topRight({double topOffset = 0, double rightOffset = 0})
    : top = topOffset,
      right = rightOffset,
      bottom = null,
      left = null;