LayoutConstraints.loose constructor
- Vector2 size
Zero to size in both axes. Aliases size, which must be immutable.
Implementation
const LayoutConstraints.loose(Vector2 size)
: assert(
size is! MVector2,
'size must be immutable. '
'Copy it with Vector2.copy first.',
),
min = .zero,
max = size;