focusCoordinate property

  1. @override
IntVector2 get focusCoordinate
override

The focusCoordinate is the first coordinate of the given focus column/row.

Implementation

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