sizeFromLayoutSize function
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);
}
Converts a LayoutSize to a Flutter Size.
Creates a Flutter Size from the width and height of a LayoutSize.
Size sizeFromLayoutSize(LayoutSize size) {
return Size(size.width, size.height);
}