layoutSizeFromSize function
Converts a Flutter Size to a LayoutSize.
Creates a layout size from the width and height of a Flutter Size object.
Implementation
LayoutSize layoutSizeFromSize(Size size) {
return LayoutSize(size.width, size.height);
}
Converts a Flutter Size to a LayoutSize.
Creates a layout size from the width and height of a Flutter Size object.
LayoutSize layoutSizeFromSize(Size size) {
return LayoutSize(size.width, size.height);
}