sizeFromLayoutSize function

Size sizeFromLayoutSize(
  1. LayoutSize size
)

Converts a LayoutSize to a Flutter Size.

Creates a Flutter Size from the width and height of a LayoutSize.

Implementation

Size sizeFromLayoutSize(LayoutSize size) {
  return Size(size.width, size.height);
}