offsetFromLayoutOffset function

Offset offsetFromLayoutOffset(
  1. LayoutOffset offset
)

Converts a LayoutOffset to a Flutter Offset.

Creates a Flutter Offset from the dx and dy coordinates of a LayoutOffset.

Implementation

Offset offsetFromLayoutOffset(LayoutOffset offset) {
  return Offset(offset.dx, offset.dy);
}