anchorCoordinate property

  1. @override
IntVector2 get anchorCoordinate
override

The anchorCoordinate is the first coordinate of the given anchor column/row.

See also:

Implementation

@override
IntVector2 get anchorCoordinate {
  final crossAxisValue = crossAxisBound ?? 0;
  return axis == Axis.horizontal
      ? IntVector2(anchor, crossAxisValue)
      : IntVector2(crossAxisValue, anchor);
}