position property

Offset position
getter/setter pair

The position of the item on the screen.

This is represented as an Offset, where the x and y values are the horizontal and vertical distances from the top left corner of the screen.

Implementation

Offset position = const Offset(
  PositionConstants.defaultTextPositionX,
  PositionConstants.defaultTextPositionY,
);