positionOnAxis method

void positionOnAxis(
  1. double cross,
  2. double main
)

Sets the position of this child relative to the parent, this should only be called after BoxyChild.layout is called.

See also:

Implementation

void positionOnAxis(double cross, double main) {
  position(_parent.unwrapOffset(cross, main, size));
}