square static method
Create a square BoxConstraints with the given size.
Implementation
static BoxConstraints square(double size) =>
BoxConstraints(minWidth: size, maxWidth: size, minHeight: size, maxHeight: size);
Create a square BoxConstraints with the given size.
static BoxConstraints square(double size) =>
BoxConstraints(minWidth: size, maxWidth: size, minHeight: size, maxHeight: size);