layoutOffsetFromOffset function
Converts a Flutter Offset to a LayoutOffset.
Creates a layout offset from the dx and dy coordinates of a Flutter Offset.
Implementation
LayoutOffset layoutOffsetFromOffset(Offset offset) {
return LayoutOffset(offset.dx, offset.dy);
}