copySize method
Copy the size of the BoxConstraints with the given width and height.
Implementation
BoxConstraints copySize({double? width, double? height}) =>
copyWith(minWidth: width, maxWidth: width, minHeight: height, maxHeight: height);
Copy the size of the BoxConstraints with the given width and height.
BoxConstraints copySize({double? width, double? height}) =>
copyWith(minWidth: width, maxWidth: width, minHeight: height, maxHeight: height);